Use libtool -no-undefined flag on all platforms.

reviewed by: plam & keithp
This commit is contained in:
Patrick Lam 2005-10-05 19:32:41 +00:00
parent 751932ddb1
commit 1ed67f658c
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2005-10-05 Christian Biesinger <cbiesinger@web.de>
reviewed by: plam & keithp
* src/Makefile.am:
Use libtool -no-undefined flag on all platforms.
2005-10-05 Patrick Lam <plam@mit.edu> 2005-10-05 Patrick Lam <plam@mit.edu>
* src/fccache.c (FcCacheHaveBank): * src/fccache.c (FcCacheHaveBank):

View File

@ -23,7 +23,6 @@
if OS_WIN32 if OS_WIN32
no_undefined = -no-undefined
export_symbols = -export-symbols fontconfig.def export_symbols = -export-symbols fontconfig.def
# gcc import library install/uninstall # gcc import library install/uninstall
@ -101,7 +100,7 @@ libfontconfig_la_SOURCES = \
lib_LTLIBRARIES = libfontconfig.la lib_LTLIBRARIES = libfontconfig.la
libfontconfig_la_LDFLAGS = \ libfontconfig_la_LDFLAGS = \
-version-info @LT_VERSION_INFO@ $(no_undefined) $(export_symbols) -version-info @LT_VERSION_INFO@ -no_undefined $(export_symbols)
libfontconfig_la_LIBADD = $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS) libfontconfig_la_LIBADD = $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS)