summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Henriksson <andreas@fatal.se>2015-09-24 10:04:39 +0200
committerDavid King <amigadave@amigadave.com>2015-09-24 09:18:51 +0100
commit5182da8cf0322d0bec62febb2a25a05116a8d762 (patch)
tree860a93ca58b4d3f0072a24ed5c8836671dbdd6a7
parentfbf6807d14b927a24e801be90d93933bd75c8037 (diff)
downloadyelp-5182da8cf0322d0bec62febb2a25a05116a8d762.tar.gz
Fix linking error for undefined reference to hypot
https://bugzilla.gnome.org/show_bug.cgi?id=755489
-rw-r--r--configure.ac1
-rw-r--r--libyelp/Makefile.am2
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index dba08f66..8869f9b1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,6 +25,7 @@ AM_PATH_GLIB_2_0
GLIB_GSETTINGS
# Library dependecies
+LT_LIB_M
PKG_CHECK_MODULES(YELP,
[
gio-2.0 >= 2.38.0
diff --git a/libyelp/Makefile.am b/libyelp/Makefile.am
index 73efd41d..0959df91 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)
+libyelpcommon_la_LIBADD = $(YELP_LIBS) $(LIBM)
libyelpcommon_la_LDFLAGS = \
-avoid-version \
-no-undefined