|
From: <va...@us...> - 2011-07-07 18:40:51
|
Revision: 186
http://xmlwrapp.svn.sourceforge.net/xmlwrapp/?rev=186&view=rev
Author: vadz
Date: 2011-07-07 18:40:43 +0000 (Thu, 07 Jul 2011)
Log Message:
-----------
Add -no-undefined to libraries LDFLAGS to allow creating DLLs under Windows.
Libtool refuses to even try to create shared libraries under Windows without
-no-undefined and this even if --disable-static is specified when configuring.
As we don't have any undefined symbols in our libraries, use -no-undefined to
explicitly communicate this to libtool and convince it to build DLLs.
Modified Paths:
--------------
trunk/src/Makefile.am
Modified: trunk/src/Makefile.am
===================================================================
--- trunk/src/Makefile.am 2010-05-21 16:59:34 UTC (rev 185)
+++ trunk/src/Makefile.am 2011-07-07 18:40:43 UTC (rev 186)
@@ -9,7 +9,7 @@
libxmlwrapp_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBXML_CFLAGS)
libxmlwrapp_la_LIBADD = $(LIBXML_LIBS)
-libxmlwrapp_la_LDFLAGS = -version-info 6:0:1
+libxmlwrapp_la_LDFLAGS = -version-info 6:0:1 -no-undefined
libxmlwrapp_la_SOURCES = \
libxml/ait_impl.cxx \
@@ -36,7 +36,7 @@
libxsltwrapp_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBEXSLT_CFLAGS) $(LIBXSLT_CFLAGS)
libxsltwrapp_la_LIBADD = libxmlwrapp.la $(LIBEXSLT_LIBS) $(LIBXSLT_LIBS)
-libxsltwrapp_la_LDFLAGS = -version-info 3:0:0
+libxsltwrapp_la_LDFLAGS = -version-info 3:0:0 -no-undefined
libxsltwrapp_la_SOURCES = \
libxslt/init.cxx \
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|