Package: openmama / 2.2.2.1-10

0005-LIBADD-fixes-for-libmama.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Daniel Pocock <daniel@pocock.com.au>
Date: Fri, 9 Aug 2013 15:03:55 +0200
Subject: LIBADD fixes for libmama

---
 mama/c_cpp/src/c/Makefile.am |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/mama/c_cpp/src/c/Makefile.am b/mama/c_cpp/src/c/Makefile.am
index 64ebac0..996f9e4 100644
--- a/mama/c_cpp/src/c/Makefile.am
+++ b/mama/c_cpp/src/c/Makefile.am
@@ -90,7 +90,9 @@ nobase_include_HEADERS  = \
 CFLAGS   += -I${srcdir}/../../../../common/c_cpp/src/c
 LDFLAGS  += -L${srcdir}/../../../../common/c_cpp/src/c
 
-LIBS     += -lm -lrt -lwombatcommon -ldl -lpthread
+libmama_la_LIBADD = ../../../../common/c_cpp/src/c/libwombatcommon.la
+libmama_la_LIBADD += -lpthread
+libmama_la_LIBADD += -lm
 
 
 if USE_GCC_FLAGS