[lttng-dev] [PATCH] Fix: out of tree build for lib Java and JUL
David Goulet
dgoulet at efficios.com
Tue May 27 11:03:42 EDT 2014
Reported-by: Daniel Olivier <daniel.olivier at ericsson.com>
Signed-off-by: David Goulet <dgoulet at efficios.com>
---
liblttng-ust-java/Makefile.am | 2 +-
liblttng-ust-jul/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/liblttng-ust-java/Makefile.am b/liblttng-ust-java/Makefile.am
index 64c654b..c66dd79 100644
--- a/liblttng-ust-java/Makefile.am
+++ b/liblttng-ust-java/Makefile.am
@@ -3,7 +3,7 @@ LTTNG_JUST_DESTDIR = $(builddir)/org/lttng/ust
if BUILD_JNI_INTERFACE
-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(builddir)
+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(builddir) -I$(top_builddir)/include
BUILT_SOURCES = org_lttng_ust_LTTngUst.h
lib_LTLIBRARIES = liblttng-ust-java.la
diff --git a/liblttng-ust-jul/Makefile.am b/liblttng-ust-jul/Makefile.am
index bc13c76..eb0a5f6 100644
--- a/liblttng-ust-jul/Makefile.am
+++ b/liblttng-ust-jul/Makefile.am
@@ -3,7 +3,7 @@ LTTNG_JUL_DESTDIR = $(builddir)/org/lttng/ust/jul
if BUILD_JNI_INTERFACE
-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(builddir)
+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(builddir) -I$(top_builddir)/include
BUILT_SOURCES = org_lttng_ust_jul_LTTngUst.h
lib_LTLIBRARIES = liblttng-ust-jul-jni.la
--
2.0.0.rc2
More information about the lttng-dev
mailing list