summaryrefslogtreecommitdiff
path: root/bean/native/unix/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'bean/native/unix/makefile.mk')
-rw-r--r--bean/native/unix/makefile.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/bean/native/unix/makefile.mk b/bean/native/unix/makefile.mk
index 01424d98eab8..aaf9941ae67f 100644
--- a/bean/native/unix/makefile.mk
+++ b/bean/native/unix/makefile.mk
@@ -27,7 +27,11 @@ SLOFILES = \
SHL1TARGET=$(TARGET)
SHL1LIBS= $(SLB)$/$(TARGET).lib
+.IF "$(JDK)" == "gcj"
+SHL1STDLIBS=-lgcjawt -lgcj
+.ELSE
SHL1STDLIBS=-ljawt
+.ENDIF
.IF "$(OS)" == "LINUX"
.IF "$(CPUNAME)" == "S390"
@@ -36,10 +40,6 @@ SHL1STDLIBS+=-lzip -lawt
SHL1STDLIBS+=-lstdc++
.ENDIF
-.IF "$(JDK)" == "gcj"
-SHL1STDLIBS+=-lgcj
-.ENDIF
-
NO_SHL1DESCRIPTION=TRUE
# --- Targets ------------------------------------------------------