From 08e7bdfb4957084a0cbf139867f009dc770ed4c4 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Tue, 27 May 2014 11:03:42 -0400 Subject: [PATCH] Fix: out of tree build for lib Java and JUL Reported-by: Daniel Olivier Signed-off-by: David Goulet Signed-off-by: Mathieu Desnoyers --- 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 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 -- 2.34.1