summaryrefslogtreecommitdiff
path: root/jtools/ecj
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2011-04-02 20:53:19 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-02 22:54:50 +0200
commitafc6a2ce6bfdb25f47a0303f94c872aadbbb7e8c (patch)
treee4bb3f3e1808317eb883961cdbf2a55243093bbd /jtools/ecj
parent7f60e6cf0e0bf73ffd396f7198627c8922d4865b (diff)
help gcj/ecj both to find their dylibs on Mac as well as others
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'jtools/ecj')
-rw-r--r--jtools/ecj/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/jtools/ecj/Makefile b/jtools/ecj/Makefile
index e87354132..32cfdeb53 100644
--- a/jtools/ecj/Makefile
+++ b/jtools/ecj/Makefile
@@ -14,6 +14,7 @@ install: ${STAGING_JAVA_HOST_DIR}/usr/bin/ecj
${STAGING_JAVA_HOST_DIR}/usr/bin/ecj:
env \
+ DYLD_LIBRARY_PATH=$(STAGING_JAVA_HOST_DIR)/usr/lib:$(STAGING_JAVA_HOST_DIR)/usr/lib64 \
LD_LIBRARY_PATH=$(STAGING_JAVA_HOST_DIR)/usr/lib:$(STAGING_JAVA_HOST_DIR)/usr/lib64 \
PATH=$(STAGING_JAVA_HOST_DIR)/usr/bin:$$PATH \
$(STAGING_JAVA_HOST_DIR)/usr/bin/gcj -g -O2 -findirect-dispatch \