From: Mathieu Desnoyers Date: Tue, 29 Nov 2011 21:57:31 +0000 (-0500) Subject: Fix demo program link dependencies X-Git-Tag: v1.9.1~49 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6d638c8684444d282159583b664f369d31abe9aa;p=lttng-ust.git Fix demo program link dependencies Only demo can afford not to link with liblttng-ust, not the providers. Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/demo/Makefile.am b/tests/demo/Makefile.am index 05a1d807..f3f06dc1 100644 --- a/tests/demo/Makefile.am +++ b/tests/demo/Makefile.am @@ -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