[yelp] Fix linking error for undefined reference to hypot
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp] Fix linking error for undefined reference to hypot
- Date: Thu, 24 Sep 2015 08:19:12 +0000 (UTC)
commit 5182da8cf0322d0bec62febb2a25a05116a8d762
Author: Andreas Henriksson <andreas fatal se>
Date: Thu Sep 24 10:04:39 2015 +0200
Fix linking error for undefined reference to hypot
https://bugzilla.gnome.org/show_bug.cgi?id=755489
configure.ac | 1 +
libyelp/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index dba08f6..8869f9b 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 73efd41..0959df9 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]