projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Lock FD tracker across fork
[lttng-ust.git]
/
liblttng-ust-fork
/
Makefile.am
diff --git
a/liblttng-ust-fork/Makefile.am
b/liblttng-ust-fork/Makefile.am
index e0e42a3f4d707f3e01500e2296f0a25b973327f3..2f0976d4da05c5b956a608aa63e91cae1be5118b 100644
(file)
--- a/
liblttng-ust-fork/Makefile.am
+++ b/
liblttng-ust-fork/Makefile.am
@@
-1,9
+1,16
@@
AM_CPPFLAGS = -I$(top_srcdir)/include
AM_CPPFLAGS = -I$(top_srcdir)/include
-AM_CFLAGS = -fno-strict-aliasing
+AM_CFLAGS
+
= -fno-strict-aliasing
lib_LTLIBRARIES = liblttng-ust-fork.la
liblttng_ust_fork_la_SOURCES = ustfork.c
liblttng_ust_fork_la_LIBADD = \
lib_LTLIBRARIES = liblttng-ust-fork.la
liblttng_ust_fork_la_SOURCES = ustfork.c
liblttng_ust_fork_la_LIBADD = \
- -ldl \
$(top_builddir)/liblttng-ust/liblttng-ust.la
$(top_builddir)/liblttng-ust/liblttng-ust.la
-libustfork_CFLAGS = -DUST_COMPONENT=liblttng-ust-fork -fno-strict-aliasing
+
+if LTTNG_UST_BUILD_WITH_LIBDL
+liblttng_ust_fork_la_LIBADD += -ldl
+endif
+if LTTNG_UST_BUILD_WITH_LIBC_DL
+liblttng_ust_fork_la_LIBADD += -lc
+endif
+
+liblttng_ust_fork_la_CFLAGS = -DUST_COMPONENT=liblttng-ust-fork $(AM_CFLAGS)
This page took
0.0233 seconds
and
4
git commands to generate.