[lttng-dev] [PATCH lttng-ust] Fix: Wrong CLASSPATH when building liblttng-ust-java oot

Christian Babeux christian.babeux at efficios.com
Thu Sep 25 12:07:32 EDT 2014


Signed-off-by: Christian Babeux <christian.babeux at efficios.com>
---
 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 203a9ff..fee9b7d 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.1.0




More information about the lttng-dev mailing list