summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 9cecbfb96fd4..01424d98eab8 100644
--- a/bean/native/unix/makefile.mk
+++ b/bean/native/unix/makefile.mk
@@ -16,10 +16,6 @@ NO_BSYMBOLIC=TRUE
nojava:
@echo "Not building odk/source/OOSupport because Java has been disabled"
.ENDIF
-.IF "$(JDK)"=="gcj"
-all:
- @echo This dir cannot be build with gcj because of jawt.h
-.ENDIF
.IF "$(OS)"=="MACOSX"
dummy:
@echo "Nothing to build for OS $(OS)"
@@ -40,6 +36,10 @@ SHL1STDLIBS+=-lzip -lawt
SHL1STDLIBS+=-lstdc++
.ENDIF
+.IF "$(JDK)" == "gcj"
+SHL1STDLIBS+=-lgcj
+.ENDIF
+
NO_SHL1DESCRIPTION=TRUE
# --- Targets ------------------------------------------------------