Revert "Detect and document dependency on -ldl on Linux, -lc on BSD for dlopen"
[lttng-ust.git] / liblttng-ust-libc-wrapper / Makefile.am
index 5b3f7f0da586872bce4f7e04ee9fa664072f9dba..6220f76c6c64ec2d6d239f87ee0f4270f08d9c68 100644 (file)
@@ -5,16 +5,9 @@ lib_LTLIBRARIES = liblttng-ust-libc-wrapper.la
 liblttng_ust_libc_wrapper_la_SOURCES = \
        lttng-ust-malloc.c \
        ust_libc.h
-liblttng_ust_libc_wrapper_la_LIBADD = \
+liblttng_ust_libc_wrapper_la_LIBADD = -ldl \
        -L$(top_builddir)/liblttng-ust/.libs \
        -llttng-ust
 
-if LTTNG_UST_BUILD_WITH_LIBDL
-liblttng_ust_libc_wrapper_la_LIBADD += -ldl
-endif
-if LTTNG_UST_BUILD_WITH_LIBC_DL
-liblttng_ust_libc_wrapper_la_LIBADD += -lc
-endif
-
 noinst_SCRIPTS = run
 EXTRA_DIST = run
This page took 0.027232 seconds and 4 git commands to generate.