summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid King <amigadave@amigadave.com>2015-09-24 09:26:44 +0100
committerDavid King <amigadave@amigadave.com>2015-09-24 09:26:44 +0100
commit324b465c9c66a8f76921b92e9d25a1230e9564cd (patch)
tree1561d6e03bf5c2c9207cff707eac8481f616926a
parent5182da8cf0322d0bec62febb2a25a05116a8d762 (diff)
downloadyelp-324b465c9c66a8f76921b92e9d25a1230e9564cd.tar.gz
Link libyelp, not libyelpcommon, with libm
-rw-r--r--libyelp/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/libyelp/Makefile.am b/libyelp/Makefile.am
index 0959df91..5f314617 100644
--- a/libyelp/Makefile.am
+++ b/libyelp/Makefile.am
@@ -18,7 +18,7 @@ libyelpcommon_la_CFLAGS = \
-DYELP_ICON_PATH=\"$(YELP_ICON_PATH)\"
-libyelpcommon_la_LIBADD = $(YELP_LIBS) $(LIBM)
+libyelpcommon_la_LIBADD = $(YELP_LIBS)
libyelpcommon_la_LDFLAGS = \
-avoid-version \
-no-undefined
@@ -121,6 +121,7 @@ libyelp_la_CPPFLAGS = \
-DYELP_WEB_EXTENSIONS_DIR=\""$(pkglibdir)/"web-extensions\"
libyelp_la_LIBADD = \
+ $(LIBM) \
$(YELP_LIBS) \
libyelpcommon.la