X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust-dl%2FMakefile.am;h=1f6d166a013ae4230f9cb22405fa0d0f899f9df9;hb=1e1782558131e5669466639d7f28e2f08b0d026d;hp=049ac65535aaf3ff656f9c0ae0794fe301f5353d;hpb=6d4658aa879ddabdd79fc6c637ee039413ad215b;p=lttng-ust.git diff --git a/liblttng-ust-dl/Makefile.am b/liblttng-ust-dl/Makefile.am index 049ac655..1f6d166a 100644 --- a/liblttng-ust-dl/Makefile.am +++ b/liblttng-ust-dl/Makefile.am @@ -1,19 +1,14 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -AM_CFLAGS = -fno-strict-aliasing +AM_CFLAGS += -fno-strict-aliasing lib_LTLIBRARIES = liblttng-ust-dl.la liblttng_ust_dl_la_SOURCES = \ lttng-ust-dl.c \ ust_dl.c \ ust_dl.h -liblttng_ust_dl_la_LIBADD = \ - $(top_builddir)/liblttng-ust/liblttng-ust.la -if LTTNG_UST_BUILD_WITH_LIBDL -liblttng_ust_dl_la_LIBADD += -ldl -endif -if LTTNG_UST_BUILD_WITH_LIBC_DL -liblttng_ust_dl_la_LIBADD += -lc -endif +liblttng_ust_dl_la_LIBADD = \ + $(top_builddir)/liblttng-ust/liblttng-ust.la \ + $(DL_LIBS) -liblttng_ust_dl_la_CFLAGS = -DUST_COMPONENT=liblttng-ust-dl -fno-strict-aliasing +liblttng_ust_dl_la_CFLAGS = -DUST_COMPONENT=liblttng-ust-dl $(AM_CFLAGS)