From ebf410f219e8b5d4c01d85fbdec4e43ebaf82af1 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Tue, 5 Jan 2010 21:59:10 +0000 Subject: [PATCH] * Do not want libjava.jar when we don't build java binding --- java/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/Makefile.am b/java/Makefile.am index 8229b40..f604df7 100644 --- a/java/Makefile.am +++ b/java/Makefile.am @@ -81,7 +81,6 @@ EXTRA_DIST = README if USE_JAVA BUILT_SOURCES = $(java_jni_headers) $(java_jni_classes) -endif libcaca_java_la_CPPFLAGS = $(JAVA_CFLAGS) libcaca_java_la_SOURCES = \ @@ -94,6 +93,7 @@ libcaca_java_la_LDFLAGS = -shared $(JAVA_LIBS) libcaca_java_la_LIBADD = ../caca/libcaca.la libcaca_java_ladir = $(datadir)/java libcaca_java_la_DATA = $(java_jar) +endif examples/Driver.class: examples/Driver.java $(JAVAC) $^