From 6d638c8684444d282159583b664f369d31abe9aa Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 29 Nov 2011 16:57:31 -0500 Subject: [PATCH] Fix demo program link dependencies Only demo can afford not to link with liblttng-ust, not the providers. Signed-off-by: Mathieu Desnoyers --- tests/demo/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1