Fix demo program link dependencies
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 29 Nov 2011 21:57:31 +0000 (16:57 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 29 Nov 2011 21:57:31 +0000 (16:57 -0500)
Only demo can afford not to link with liblttng-ust, not the providers.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/demo/Makefile.am

index 05a1d807a723d7b75d952716e8b603265e0b7650..f3f06dc17491166d368f5c74c907e934eeea9f84 100644 (file)
@@ -1,6 +1,4 @@
 AM_CPPFLAGS = -I$(top_srcdir)/include
-# The demo program only depends on libdl.
-LIBS = -ldl
 
 lib_LTLIBRARIES = liblttng-ust-provider-ust-tests-demo.la \
        liblttng-ust-provider-ust-tests-demo3.la
@@ -20,3 +18,5 @@ liblttng_ust_provider_ust_tests_demo3_la_LIBADD = \
 
 noinst_PROGRAMS = demo
 demo_SOURCES = demo.c ust_tests_demo.h
+# The demo program only depends on libdl.
+demo_LIBS = -ldl
This page took 0.025769 seconds and 4 git commands to generate.