libcaca 0.99.beta19
[git/cygwin-packages/libcaca.git] / 0.99.18-java.patch
1 --- origsrc/libcaca-0.99.beta18/java/Makefile.am 2010-02-08 13:48:43.000000000 -0600
2 +++ src/libcaca-0.99.beta18/java/Makefile.am 2012-08-24 16:33:27.452999700 -0500
3 @@ -2,7 +2,7 @@
4 jnidir = $(libdir)/jni
5 libcaca_javadir = $(datadir)/java
6
7 -java_jar = libjava.jar
8 +java_jar = caca.jar
9
10 if USE_JAVA
11 jni_LTLIBRARIES = libcaca-java.la
12 @@ -99,19 +99,19 @@ if USE_JAVA
13 BUILT_SOURCES = $(java_jni_headers) $(java_jni_classes)
14 endif
15
16 -libcaca_java_la_CPPFLAGS = $(JAVA_CFLAGS)
17 +libcaca_java_la_CPPFLAGS = $(JAVA_CFLAGS) -I$(top_srcdir)/caca
18 libcaca_java_la_SOURCES = \
19 caca_java_common.h \
20 caca_java_common.c \
21 $(java_jni_src)
22 #nodist_libcaca_java_la_SOURCES = \
23 # $(java_jni_headers)
24 -libcaca_java_la_LDFLAGS = -shared $(JAVA_LIBS)
25 +libcaca_java_la_LDFLAGS = -shared -avoid-version -no-undefined $(JAVA_LIBS)
26 libcaca_java_la_LIBADD = ../caca/libcaca.la
27
28 examples/Driver.class: examples/Driver.java
29 - $(JAVAC) $^
30 + $(JAVAC) -classpath . $^
31
32 examples/TrueColor.class: examples/TrueColor.java
33 - $(JAVAC) $^
34 + $(JAVAC) -classpath . $^
35
This page took 0.033298 seconds and 5 git commands to generate.