[lttng-dev] [PATCH lttng-tools] Fix: Remove dependency to urcu-cds in tools tests

Christian Babeux christian.babeux at efficios.com
Fri Nov 2 15:04:02 EDT 2012


The -lurcu-cds link flag is not mandatory to link any of the tests.
Also, adding this flag can cause multiple symbol definition errors
when linking statically because the libhashtable contains symbol
names that are also present in urcu-cds.

Signed-off-by: Christian Babeux <christian.babeux at efficios.com>
---
 tests/tools/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/tools/Makefile.am b/tests/tools/Makefile.am
index 56eda3a..cd7ff32 100644
--- a/tests/tools/Makefile.am
+++ b/tests/tools/Makefile.am
@@ -1,7 +1,7 @@
 SUBDIRS = streaming filtering health
 
 AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_srcdir)/tests -g -Wall
-AM_LDFLAGS = -lurcu -lurcu-cds
+AM_LDFLAGS = -lurcu
 
 EXTRA_DIST = runall.sh
 
-- 
1.8.0




More information about the lttng-dev mailing list