a97b2315da
- Version bump to release 0.8.3: * added support for building with newer JDKs. - Updated patches: * Rebased: libreadline-java-0.8.0-jdk10.patch * Removed: libreadline-java-0.8.0-sourcetarget.patch OBS-URL: https://build.opensuse.org/request/show/975856 OBS-URL: https://build.opensuse.org/package/show/Java:packages/libreadline-java?expand=0&rev=33
23 lines
993 B
Diff
23 lines
993 B
Diff
Index: libreadline-java-0.8.3/src/native/Makefile
|
|
===================================================================
|
|
--- libreadline-java-0.8.3.orig/src/native/Makefile
|
|
+++ libreadline-java-0.8.3/src/native/Makefile
|
|
@@ -132,15 +132,11 @@ endif
|
|
getline.$(OBJ_EXT): getline.c
|
|
$(CC) $(INCLUDES) $(CPPFLAGS) $(NATIVE_CFLAGS) -D$(TG) -c getline.c
|
|
|
|
-org_gnu_readline_Readline.$(OBJ_EXT): org_gnu_readline_Readline.h \
|
|
- org_gnu_readline_Readline.c
|
|
- $(CC) $(INCLUDES) $(CPPFLAGS) $(NATIVE_CFLAGS) -D$(TG) \
|
|
- -c org_gnu_readline_Readline.c
|
|
+org_gnu_readline_Readline.$(OBJ_EXT): org_gnu_readline_Readline.h org_gnu_readline_Readline.c
|
|
+ $(CC) $(INCLUDES) $(CPPFLAGS) $(NATIVE_CFLAGS) -D$(TG) -c org_gnu_readline_Readline.c
|
|
|
|
ifeq ($(USE_JAVAH),true)
|
|
org_gnu_readline_Readline.h: $(BUILDDIR)/org/gnu/readline/Readline.class
|
|
- $(JAVA_HOME)/bin/javah -classpath $(BUILDDIR) -jni org.gnu.readline.Readline
|
|
- touch org_gnu_readline_Readline.h
|
|
endif
|
|
|
|
clean:
|