From 6de95b2897a8badebcc281b9eafc1481c9f23903 Mon Sep 17 00:00:00 2001 From: Christian Babeux Date: Thu, 25 Sep 2014 12:07:32 -0400 Subject: [PATCH] Fix: Wrong CLASSPATH when building liblttng-ust-java oot Signed-off-by: Christian Babeux Signed-off-by: Mathieu Desnoyers --- liblttng-ust-java/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1