summaryrefslogtreecommitdiff
path: root/external/rhino/ExternalProject_rhino.mk
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2020-07-29 12:04:03 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2020-09-11 20:29:11 +0200
commit42aeb9f906ca4e23d118ff8563184f9315ef3b82 (patch)
tree55e623dda2192f7d613b03b47b89413f5222dd89 /external/rhino/ExternalProject_rhino.mk
parent0b99cceb5273550dbaef5890297fd7ebfccd6817 (diff)
cross-build: fix Java NI linking
LibreOffice has a JNI component on Windows and Linux, the officebean. Therefore we need a host JDK for linkage to the jawt, and a build JDK to compile the Java code. Change-Id: I4138628ab3ea2ef5900a5b4e9281050ae84e4eb5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102483 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'external/rhino/ExternalProject_rhino.mk')
-rw-r--r--external/rhino/ExternalProject_rhino.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/rhino/ExternalProject_rhino.mk b/external/rhino/ExternalProject_rhino.mk
index 4d1b3e54409c..6ef30ca34f24 100644
--- a/external/rhino/ExternalProject_rhino.mk
+++ b/external/rhino/ExternalProject_rhino.mk
@@ -16,6 +16,7 @@ $(eval $(call gb_ExternalProject_register_targets,rhino,\
$(call gb_ExternalProject_get_state_target,rhino,build) :
$(call gb_Trace_StartRange,rhino,EXTERNAL)
$(call gb_ExternalProject_run,build,\
+ JAVA_HOME=$(JAVA_HOME_FOR_BUILD) \
$(ICECREAM_RUN) "$(ANT)" \
$(if $(verbose),-v,-q) \
-f build.xml \