mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-05 13:35:32 +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
bd1d915c2d
commit
e8e3a5dee4
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