tests: use LDFLAGS instead of CFLAGS for libraries
[lttng-tools.git] / tests / ust-nprocesses / Makefile.am
index abdc7ff645998eb89766f412ac8dfaa0c2559174..d3fdcbd4120cf5bdcf5c17250fbae09eabffd1dc 100644 (file)
@@ -2,10 +2,10 @@ AM_CFLAGS = -I. -O2
 AM_LDFLAGS = -llttng-ust
 
 if LTTNG_TOOLS_BUILD_WITH_LIBDL
-AM_CFLAGS += -ldl
+AM_LDFLAGS += -ldl
 endif
 if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
-AM_CFLAGS += -lc
+AM_LDFLAGS += -lc
 endif
 
 noinst_PROGRAMS = gen-events-time
This page took 0.022935 seconds and 4 git commands to generate.