Cleanup: dlmopen detection
[lttng-tools.git] / tests / regression / ust / high-throughput / Makefile.am
index 25913c3f4695ffe40bbca44879f8e04b01cb39ef..f71dfd4dfeb7dd76d3f566f08a7ac1ef6224bbcf 100644 (file)
@@ -1,16 +1,8 @@
-AM_CFLAGS = -I$(srcdir) -O2
-AM_LDFLAGS = -llttng-ust
-
-if LTTNG_TOOLS_BUILD_WITH_LIBDL
-LIBS += -ldl
-endif
-if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
-LIBS += -lc
-endif
+AM_CPPFLAGS += -I$(srcdir)
 
 noinst_PROGRAMS = gen-events
 gen_events_SOURCES = main.c tp.c tp.h
-gen_events_LDADD = -llttng-ust
+gen_events_LDADD = -llttng-ust $(DL_LIBS)
 
 noinst_SCRIPTS = test_high_throughput
 EXTRA_DIST = test_high_throughput
This page took 0.024277 seconds and 5 git commands to generate.