]> err.no Git - libchamplain/commitdiff
-export-symbols-regex was set in AM_LDFLAGS, but this got overridden by
authorSjoerd Simons <sjoerd@luon.net>
Thu, 2 Apr 2009 00:10:41 +0000 (03:10 +0300)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Thu, 2 Apr 2009 00:11:27 +0000 (03:11 +0300)
libchamplain_0_2_la_LDFLAGS causing it to not actually have any effect :(. Fix
this by putting -export-symbols-regex in libchamplain_0_2_la_LDFLAGS and
removing the useless AM_LDFLAGS.

AUTHORS
champlain/Makefile.am

diff --git a/AUTHORS b/AUTHORS
index 2551153428186ab2f896ffb6b3508a469449c058..b7f2a6577551fbcf9a22b660aee28a84ecee42f8 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -13,3 +13,4 @@ Lionel Dricot <ploum@ploum.net>
 Simon Wenner <simon@wenner.ch>
 Kritarth Upadhyay <boyzoneblues@gmail.com>
 Debarshi Ray <debarshi.ray@gmail.com>
+Sjoerd Simons <sjoerd@luon.net>
index 14c7afd018c7e188e4ce0936255394a1f6e99702..483e81d41a734f2304684a904e20b54ca7e3aeb3 100644 (file)
@@ -72,7 +72,9 @@ libchamplain_0_3_la_LIBADD = $(DEPS_LIBS) ../tidy/libtidy-1.0.la
 
 libchamplain_includedir = $(includedir)/libchamplain-0.3/champlain
 
-libchamplain_0_3_la_LDFLAGS = -version-info $(LIBRARY_VERSION)
+libchamplain_0_3_la_LDFLAGS = -version-info $(LIBRARY_VERSION) \
+       -export-symbols-regex           \
+       ^champlain_.*
 
 AM_CPPFLAGS =                          \
        $(DEPS_CFLAGS)                  \
@@ -82,11 +84,6 @@ AM_CPPFLAGS =                                \
        -DCHAMPLAIN_COMPILATION         \
        $(WARN_CFLAGS)
 
-AM_LDFLAGS =                           \
-       $(DEPS_LIBS)                    \
-       -export-symbols-regex           \
-       ^champlain_.*
-
 svgdir = $(datadir)/champlain
 svg_DATA = error.svg