From ed7268351883c9d20964093cc23ee05b66adaa75 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Thu, 2 Apr 2009 03:10:41 +0300 Subject: [PATCH] -export-symbols-regex was set in AM_LDFLAGS, but this got overridden by 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 | 1 + champlain/Makefile.am | 9 +++------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/AUTHORS b/AUTHORS index 2551153..b7f2a65 100644 --- a/AUTHORS +++ b/AUTHORS @@ -13,3 +13,4 @@ Lionel Dricot Simon Wenner Kritarth Upadhyay Debarshi Ray +Sjoerd Simons diff --git a/champlain/Makefile.am b/champlain/Makefile.am index 14c7afd..483e81d 100644 --- a/champlain/Makefile.am +++ b/champlain/Makefile.am @@ -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 -- 2.39.5