mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 17:01:16 +00:00
ICU-13138 MinGW: add 'd' suffix to the names of binary files with Debug config (#28)
For builds using Cygwin and MSVC with Debug configuration, '.dll' and '.lib' binaries has 'd' suffix. Doing the same for builds using MinGW and MinGW64, based on the code from MSVC toolchain. Task-number: ICU-13138
This commit is contained in:
parent
e72a89da62
commit
aefbb56558
2 changed files with 10 additions and 0 deletions
|
@ -42,6 +42,11 @@ THREADSCFLAGS = -mthreads
|
|||
THREADSCXXFLAGS = -mthreads
|
||||
LIBCPPFLAGS =
|
||||
|
||||
## Add 'd' suffix to the names of binary files with Debug configuration
|
||||
ifeq ($(ENABLE_DEBUG),1)
|
||||
ICULIBSUFFIX:=$(ICULIBSUFFIX)d#M#
|
||||
endif
|
||||
|
||||
# Commands to link. Link with C++ in case static libraries are used.
|
||||
LINK.c= $(CXX) $(CXXFLAGS) $(LDFLAGS)
|
||||
#LINK.cc= $(CXX) $(CXXFLAGS) $(LDFLAGS)
|
||||
|
|
|
@ -42,6 +42,11 @@ THREADSCFLAGS = -mthreads
|
|||
THREADSCXXFLAGS = -mthreads
|
||||
LIBCPPFLAGS =
|
||||
|
||||
## Add 'd' suffix to the names of binary files with Debug configuration
|
||||
ifeq ($(ENABLE_DEBUG),1)
|
||||
ICULIBSUFFIX:=$(ICULIBSUFFIX)d#M#
|
||||
endif
|
||||
|
||||
# Commands to link. Link with C++ in case static libraries are used.
|
||||
LINK.c= $(CXX) $(CXXFLAGS) $(LDFLAGS)
|
||||
#LINK.cc= $(CXX) $(CXXFLAGS) $(LDFLAGS)
|
||||
|
|
Loading…
Add table
Reference in a new issue