[gegl] Fix underlinking (-lm) of libgegl.so
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] Fix underlinking (-lm) of libgegl.so
- Date: Sat, 5 Dec 2015 16:41:33 +0000 (UTC)
commit 51df2774347a49d37e70a18667da2a69aca17e67
Author: Justin Lecher <jlec gentoo org>
Date: Sat Dec 5 17:34:48 2015 +0100
Fix underlinking (-lm) of libgegl.so
When linking with ld.gold the builds fails due to underlinking of libgegl.so
./.libs/libgegl-0.3.so: error: undefined reference to 'tanhf'
Gnome-Bugs: https://bugzilla.gnome.org/show_bug.cgi?id=759065
Signed-off-by: Justin Lecher <jlec gentoo org>
gegl/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/Makefile.am b/gegl/Makefile.am
index e26099c..e53777d 100644
--- a/gegl/Makefile.am
+++ b/gegl/Makefile.am
@@ -39,7 +39,7 @@ AM_LDFLAGS = \
$(no_undefined) -export-dynamic -version-info $(GEGL_LIBRARY_VERSION)
LIBS = \
- $(DEP_LIBS) $(BABL_LIBS)
+ $(DEP_LIBS) $(BABL_LIBS) -lm
GEGL_publicdir = $(includedir)/gegl-$(GEGL_API_VERSION)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]