From 85f62b2351414d7b12179f746bb6545fa62d90e9 Mon Sep 17 00:00:00 2001 From: Christian Babeux Date: Wed, 24 Sep 2014 15:44:05 -0400 Subject: [PATCH] Fix: Wrong CLASSPATH when building liblttng-ust-java-agent oot Signed-off-by: Christian Babeux Signed-off-by: Mathieu Desnoyers --- liblttng-ust-java-agent/java/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.34.1