[devhelp/wip/devhelp-next: 3/8] build: link to LIBM only in the app
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp/wip/devhelp-next: 3/8] build: link to LIBM only in the app
- Date: Thu, 22 Feb 2018 15:55:47 +0000 (UTC)
commit 2db4150273618938716ecff8031aa0a3d63cc03f
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Feb 22 14:36:13 2018 +0100
build: link to LIBM only in the app
The library and unit tests don't need extra math functions, only the app
in src/.
devhelp/Makefile.am | 3 +--
unit-tests/Makefile.am | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/devhelp/Makefile.am b/devhelp/Makefile.am
index 1da59db..1ff66c4 100644
--- a/devhelp/Makefile.am
+++ b/devhelp/Makefile.am
@@ -104,8 +104,7 @@ libdevhelp_3_la_SOURCES =
libdevhelp_3_la_LIBADD = \
libdevhelp-core.la \
- $(DEVHELP_LIBS) \
- $(LIBM)
+ $(DEVHELP_LIBS)
libdevhelp_3_la_LDFLAGS = \
$(AM_LDFLAGS) \
diff --git a/unit-tests/Makefile.am b/unit-tests/Makefile.am
index 0ed1c20..cadb8a5 100644
--- a/unit-tests/Makefile.am
+++ b/unit-tests/Makefile.am
@@ -7,8 +7,7 @@ AM_CPPFLAGS = \
AM_LDFLAGS = $(WARN_LDFLAGS)
LDADD = $(top_builddir)/devhelp/libdevhelp-core.la \
- $(DEVHELP_LIBS) \
- $(LIBM)
+ $(DEVHELP_LIBS)
UNIT_TEST_PROGS =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]