Detect and document dependency on -ldl on Linux, -lc on BSD for dlopen
[lttng-ust.git] / tests / dlopen / Makefile.am
... / ...
CommitLineData
1AM_CPPFLAGS = -I$(top_srcdir)/include
2
3noinst_PROGRAMS = dlopen
4noinst_LTLIBRARIES = libdummy.la
5libdummy_la_SOURCES = libdummy.c
6libdummy_la_LIBADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o
7libdummy_la_LDFLAGS = -rpath /nowhere
8dlopen_SOURCES = dlopen.c
9dlopen_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o
10
11if LTTNG_UST_BUILD_WITH_LIBDL
12dlopen_LDADD += -ldl
13endif
14if LTTNG_UST_BUILD_WITH_LIBC_DL
15dlopen_LDADD += -lc
16endif
17
18noinst_SCRIPTS = run
19EXTRA_DIST = run
This page took 0.024884 seconds and 4 git commands to generate.