Build fix: Apps defining _LGPL_SOURCE must link to urcu-bp
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 19 Nov 2014 22:01:01 +0000 (17:01 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 19 Nov 2014 22:01:01 +0000 (17:01 -0500)
Defining _LGPL_SOURCE causes lttng-ust tracepoint headers to
inline uses of userspace-rcu, which make linking against urcu
necessary.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/tools/filtering/Makefile.am
tests/regression/ust/multi-session/Makefile.am
tests/utils/testapp/gen-ust-events/Makefile.am
tests/utils/testapp/gen-ust-nevents/Makefile.am

index 7889c87919b213d2c325609b49ea96cef2b713bb..b4f8d76f0c40770a8447be45e8fddc663958851e 100644 (file)
@@ -11,7 +11,7 @@ endif
 if HAVE_LIBLTTNG_UST_CTL
 noinst_PROGRAMS = gen-ust-events
 gen_ust_events_SOURCES = gen-ust-events.c tp.c tp.h
-gen_ust_events_LDADD = -llttng-ust
+gen_ust_events_LDADD = -llttng-ust -lurcu-bp
 endif
 
 noinst_SCRIPTS = test_unsupported_op test_invalid_filter test_valid_filter
index 6ff204a6628ee831c2cc147c664ff14b663cdda6..84e58beed6ecc8c00dd80c94b5b4cbaa4512d630 100644 (file)
@@ -10,7 +10,7 @@ endif
 
 noinst_PROGRAMS = gen-nevents
 gen_nevents_SOURCES = gen-nevents.c tp.c ust_gen_nevents.h
-gen_nevents_LDADD = -llttng-ust
+gen_nevents_LDADD = -llttng-ust -lurcu-bp
 
 noinst_SCRIPTS = test_multi_session
 EXTRA_DIST = test_multi_session
index 1be58353c5429b4a696b1f7ad00ea5f031c8b876..0e726d11cedb97b448ebacb71e174ca7e95bea9c 100644 (file)
@@ -11,5 +11,5 @@ endif
 if HAVE_LIBLTTNG_UST_CTL
 noinst_PROGRAMS = gen-ust-events
 gen_ust_events_SOURCES = gen-ust-events.c tp.c tp.h
-gen_ust_events_LDADD = -llttng-ust
+gen_ust_events_LDADD = -llttng-ust -lurcu-bp
 endif
index e11b5f36f34fb8ff22c1eb0aa760cbb2885ad8c0..d62c06db99a48cd53ae8a56acf87e01878e99ef9 100644 (file)
@@ -11,5 +11,5 @@ endif
 if HAVE_LIBLTTNG_UST_CTL
 noinst_PROGRAMS = gen-ust-nevents
 gen_ust_nevents_SOURCES = gen-ust-nevents.c tp.c tp.h
-gen_ust_nevents_LDADD = -llttng-ust
+gen_ust_nevents_LDADD = -llttng-ust -lurcu-bp
 endif
This page took 0.027312 seconds and 4 git commands to generate.