summaryrefslogtreecommitdiff
path: root/external/languagetool
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/languagetool
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/languagetool')
-rw-r--r--external/languagetool/ExternalProject_languagetool.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/languagetool/ExternalProject_languagetool.mk b/external/languagetool/ExternalProject_languagetool.mk
index 70b22a6aa10f..ed70df41ad69 100644
--- a/external/languagetool/ExternalProject_languagetool.mk
+++ b/external/languagetool/ExternalProject_languagetool.mk
@@ -23,6 +23,7 @@ $(eval $(call gb_ExternalProject_use_jars,languagetool,\
$(call gb_ExternalProject_get_state_target,languagetool,build) : \
$(call gb_Jar_get_target,libreoffice)
cd "$(call gb_UnpackedTarball_get_dir,languagetool)" && \
+ JAVA_HOME=$(JAVA_HOME_FOR_BUILD) \
$(ICECREAM_RUN) "$(ANT)" \
$(if $(verbose),-v,-q) \
-f build.xml \