From: Christian Babeux Date: Wed, 24 Sep 2014 19:44:05 +0000 (-0400) Subject: Fix: Wrong CLASSPATH when building liblttng-ust-java-agent oot X-Git-Tag: v2.6.0-rc1~7 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=85f62b2351414d7b12179f746bb6545fa62d90e9;p=lttng-ust.git Fix: Wrong CLASSPATH when building liblttng-ust-java-agent oot Signed-off-by: Christian Babeux Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust-java-agent/java/Makefile.am b/liblttng-ust-java-agent/java/Makefile.am index c949bf89..01e81e57 100644 --- a/liblttng-ust-java-agent/java/Makefile.am +++ b/liblttng-ust-java-agent/java/Makefile.am @@ -43,11 +43,11 @@ $(jarfile_old): classnoinst.stamp $(pkgpath)/jul/*.class $(pkgpath_old)/*.class jul-jni-header.stamp: $(dist_noinst_JAVA) - $(JAVAH) -cp $(CLASSPATH):. -d $(juljniout) $(JAVAHFLAGS) org.lttng.ust.agent.jul.LTTngLogHandler && \ + $(JAVAH) -cp $(CLASSPATH):$(srcdir) -d $(juljniout) $(JAVAHFLAGS) org.lttng.ust.agent.jul.LTTngLogHandler && \ echo "JUL JNI header generated" > jul-jni-header.stamp log4j-jni-header.stamp: $(dist_noinst_JAVA) - $(JAVAH) -cp $(CLASSPATH):. -d $(log4jjniout) $(JAVAHFLAGS) org.lttng.ust.agent.log4j.LTTngLogAppender && \ + $(JAVAH) -cp $(CLASSPATH):$(srcdir) -d $(log4jjniout) $(JAVAHFLAGS) org.lttng.ust.agent.log4j.LTTngLogAppender && \ echo "Log4j JNI header generated" > log4j-jni-header.stamp all-local: $(stamp)