mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 01:11:02 +00:00
ICU-3576 Improve static library building ability
X-SVN-Rev: 15151
This commit is contained in:
parent
43ee8a9c4d
commit
8bc208cd9a
2 changed files with 5 additions and 1 deletions
|
@ -19,6 +19,10 @@ SHAREDLIBCPPFLAGS = -DPIC
|
|||
LIBCPPFLAGS = -D_REENTRANT
|
||||
THREADSCPPFLAGS = -D_REENTRANT
|
||||
|
||||
# Commands to link. Link with C++ in case static libraries are used.
|
||||
LINK.c= $(CXX) $(CXXFLAGS) $(LDFLAGS)
|
||||
#LINK.cc= $(CXX) $(CXXFLAGS) $(LDFLAGS)
|
||||
|
||||
## Commands to make a shared library
|
||||
SHLIB.c= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -shared
|
||||
SHLIB.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -shared
|
||||
|
|
|
@ -31,7 +31,7 @@ CLEANFILES = *~ $(DEPS) $(ALL_MAN_FILES)
|
|||
TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
|
||||
|
||||
CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(srcdir)/../toolutil $(BIR_CPPFLAGS)
|
||||
LIBS = $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) $(LIBICUTOOLUTIL)
|
||||
LIBS = $(LIBICUTOOLUTIL) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
|
||||
|
||||
OBJECTS = genccode.o
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue