projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: use LDFLAGS instead of CFLAGS for libraries
[lttng-tools.git]
/
tests
/
ust-nprocesses
/
Makefile.am
diff --git
a/tests/ust-nprocesses/Makefile.am
b/tests/ust-nprocesses/Makefile.am
index e1df41d36af63bcf4352dff76f27cb71bcea51f0..d3fdcbd4120cf5bdcf5c17250fbae09eabffd1dc 100644
(file)
--- a/
tests/ust-nprocesses/Makefile.am
+++ b/
tests/ust-nprocesses/Makefile.am
@@
-1,4
+1,12
@@
-AM_CPPFLAGS = -ldl -I. -O2
+AM_CFLAGS = -I. -O2
+AM_LDFLAGS = -llttng-ust
+
+if LTTNG_TOOLS_BUILD_WITH_LIBDL
+AM_LDFLAGS += -ldl
+endif
+if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
+AM_LDFLAGS += -lc
+endif
noinst_PROGRAMS = gen-events-time
gen_events_time_SOURCES = gen-events-time.c tp.c ust_gen_event.h
noinst_PROGRAMS = gen-events-time
gen_events_time_SOURCES = gen-events-time.c tp.c ust_gen_event.h
This page took
0.023471 seconds
and
4
git commands to generate.