summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-12-06 16:06:44 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-12-06 16:06:44 +0100
commit050faf253fcf1870489a90b2c8f7a3802730170c (patch)
tree18c0e74c8211ddabbc7d74e590b9743ead707841
parent595e438d499e57fd289696bbf796e994e8d84a5c (diff)
Use -no-undefined on all platforms, since it does not hurt anybody
-rw-r--r--src/lib/Makefile.am4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 9d9e8aa..74af854 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -1,8 +1,6 @@
if PLATFORM_WIN32
-no_undefined = -no-undefined
version_info = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -avoid-version
else
-no_undefined =
version_info = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
endif
@@ -16,7 +14,7 @@ AM_CXXFLAGS = $(LIBVISIO_CXXFLAGS) $(DEBUG_CXXFLAGS)
libvisio_@VSD_MAJOR_VERSION@_@VSD_MINOR_VERSION@_la_LIBADD = $(LIBVISIO_LIBS) @LIBVISIO_WIN32_RESOURCE@
libvisio_@VSD_MAJOR_VERSION@_@VSD_MINOR_VERSION@_la_DEPENDENCIES = @LIBVISIO_WIN32_RESOURCE@
-libvisio_@VSD_MAJOR_VERSION@_@VSD_MINOR_VERSION@_la_LDFLAGS = $(version_info) -export-dynamic $(no_undefined)
+libvisio_@VSD_MAJOR_VERSION@_@VSD_MINOR_VERSION@_la_LDFLAGS = $(version_info) -export-dynamic -no-undefined
libvisio_@VSD_MAJOR_VERSION@_@VSD_MINOR_VERSION@_la_SOURCES = \
libvisio_utils.cpp \
VisioDocument.cpp \