Fix: use LIBS instead of AM_LDFLAGS for dl and c linking
[lttng-tools.git] / tests / regression / ust / multi-session / Makefile.am
index 84e58beed6ecc8c00dd80c94b5b4cbaa4512d630..c821e5a1e2a500cb943c8b70df7e5e6a383f7397 100644 (file)
@@ -2,10 +2,10 @@ AM_CFLAGS = -I$(srcdir) -O2
 AM_LDFLAGS = -llttng-ust
 
 if LTTNG_TOOLS_BUILD_WITH_LIBDL
-AM_LDFLAGS += -ldl
+LIBS += -ldl
 endif
 if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
-AM_LDFLAGS += -lc
+LIBS += -lc
 endif
 
 noinst_PROGRAMS = gen-nevents
This page took 0.023593 seconds and 4 git commands to generate.