48ac9e97f3
* bugfix: using tab completion would crash the virtual machine * getVar()/setVar() (Bernhard) * unicode support (Andrew) * added bats test case and running on travis ci (Andrew) * various build fixes (Andrew) - Update URL/Source to point to current location - Refresh patches: * libreadline-java-0.8.0-jdk10.patch * libreadline-java-0.8.0-sourcetarget.patch * libreadline-java-ncurses.patch - Remove upstream merged: * libreadline-java-0.8.0-missing-return-type.patch OBS-URL: https://build.opensuse.org/package/show/Java:packages/libreadline-java?expand=0&rev=29
27 lines
885 B
Diff
27 lines
885 B
Diff
Index: src/native/Makefile
|
|
===================================================================
|
|
--- src/native/Makefile.orig
|
|
+++ src/native/Makefile
|
|
@@ -43,10 +43,8 @@ NATIVE_CFLAGS := -fpic -DPOSIX $(CFLAGS)
|
|
LD_FLAGS = -shared
|
|
|
|
INCLUDES = -I $(JAVAINCLUDE) -I $(JAVANATINC)
|
|
-LIBPATH = -L/usr/lib/termcap
|
|
-
|
|
-JavaReadline_LIBS = -lreadline -ltermcap -lhistory
|
|
-JavaEditline_LIBS = -ledit -ltermcap
|
|
+JavaReadline_LIBS = -lreadline -ltinfo -lhistory
|
|
+JavaEditline_LIBS = -ledit -lncurses
|
|
JavaGetline_LIBS =
|
|
endif
|
|
|
|
@@ -125,7 +123,7 @@ ifeq (MSWIN,$(OS_FLAVOR))
|
|
$(CC) $(LD_FLAGS) $(OBJECTS) $(LIBPATH) $($(TG)_LIBS) -Fe$@
|
|
endif
|
|
ifeq (LINUX,$(OS_FLAVOR))
|
|
- $(CC) $(LD_FLAGS) $(OBJECTS) $(LIBPATH) $($(TG)_LIBS) -o $@
|
|
+ $(CC) $(LD_FLAGS) $(OBJECTS) $($(TG)_LIBS) -o $@
|
|
endif
|
|
ifeq (MAC,$(OS_FLAVOR))
|
|
$(CC) $(LD_FLAGS) $(OBJECTS) $(LIBPATH) $($(TG)_LIBS) -o $@
|