From: Christian Babeux Date: Thu, 25 Sep 2014 16:07:32 +0000 (-0400) Subject: Fix: Wrong CLASSPATH when building liblttng-ust-java oot X-Git-Tag: v2.6.0-rc1~6 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6de95b2897a8badebcc281b9eafc1481c9f23903;p=lttng-ust.git Fix: Wrong CLASSPATH when building liblttng-ust-java oot Signed-off-by: Christian Babeux Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust-java/Makefile.am b/liblttng-ust-java/Makefile.am index 203a9ffc..fee9b7d2 100644 --- a/liblttng-ust-java/Makefile.am +++ b/liblttng-ust-java/Makefile.am @@ -20,7 +20,7 @@ $(jarfile): classnoinst.stamp org_lttng_ust_LTTngUst.h: jni-header.stamp jni-header.stamp: $(dist_noinst_JAVA) - $(JAVAH) -cp . $(JAVAHFLAGS) org.lttng.ust.LTTngUst && \ + $(JAVAH) -cp $(srcdir) $(JAVAHFLAGS) org.lttng.ust.LTTngUst && \ echo "JNI header generated" > jni-header.stamp all-local: org_lttng_ust_LTTngUst.h