From: David Goulet Date: Tue, 27 May 2014 15:03:42 +0000 (-0400) Subject: Fix: out of tree build for lib Java and JUL X-Git-Tag: v2.5.0-rc1~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=cde4cf976eb8c0f3aa9c6890adca1f19a5b6a059;p=lttng-ust.git Fix: out of tree build for lib Java and JUL Reported-by: Daniel Olivier Signed-off-by: David Goulet Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust-java/Makefile.am b/liblttng-ust-java/Makefile.am index 64c654bb..c66dd79c 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 bc13c76f..eb0a5f60 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