Skip to content
Snippets Groups Projects
Commit f93adaf8 authored by Emmanuel Bourg's avatar Emmanuel Bourg
Browse files

Fixed the build failure with Java 9 (Closes: #893420)

parent 1f384093
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ JAVA=swt-gtk-$(RELEASE).jar
CLEANFILES=*.files *.jar *-stamp
JAR=fastjar
JAVAC=javac -classpath . -source 1.5 -target 1.5
JAVAC=javac -classpath . -source 1.8 -target 1.8
RM=rm -f
all: $(JAVA)
......
swt-gtk (3.8.2-5) UNRELEASED; urgency=medium
* Team upload.
* Fixed the build failure with Java 9 (Closes: #893420)
* Standards-Version updated to 4.1.3
* Use secure Vcs-* URLs
......
--- a/make_linux.mak
+++ b/make_linux.mak
@@ -53,7 +53,7 @@
CDE_LIBS = -L$(CDE_HOME)/lib -R$(CDE_HOME)/lib -lXt -lX11 -lDtSvc
AWT_LFLAGS = -shared ${SWT_LFLAGS}
-AWT_LIBS = -L$(AWT_LIB_PATH) -ljawt
+AWT_LIBS = -L$(AWT_LIB_PATH) -L/usr/lib/jvm/default-java/lib/ -ljawt
ATKCFLAGS = `pkg-config --cflags atk gtk+-2.0`
ATKLIBS = `pkg-config --libs-only-L atk gtk+-2.0` -latk-1.0 -lgtk-x11-2.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment