summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2024-06-24 23:44:14 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2024-07-26 13:08:47 +0200
commitdbfa56584cac08cae733513c13803a9c6ece22f6 (patch)
tree2ac0713ee651f99aed999c8ee9a3307dd76b7171 /external
parent7d5c62537cce395fb46aac9403d42b1597c8186d (diff)
Fix build with Java 8
Unlike later versions of Java, JDK 8 does not create the last directory segment pointed by the -d option, even if the other segments exist. So, create the "content" segment too and allow building with Java 8. Change-Id: Ie7ee75ca311270e02a3e1b6b5eeb28b5a1ccdad8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169477 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'external')
-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 77a0b6cd21eb..8d29bf284de0 100644
--- a/external/rhino/ExternalProject_rhino.mk
+++ b/external/rhino/ExternalProject_rhino.mk
@@ -17,6 +17,7 @@ $(call gb_ExternalProject_get_state_target,rhino,build) :
$(call gb_Trace_StartRange,rhino,EXTERNAL)
$(call gb_ExternalProject_run,build,\
mkdir $(gb_UnpackedTarball_workdir)/rhino/build \
+ && mkdir $(gb_UnpackedTarball_workdir)/rhino/build/content \
&& cd $(gb_UnpackedTarball_workdir)/rhino \
&& $(call gb_JavaClassSet_JAVACCOMMAND,$(JAVA_TARGET_VER)) $(gb_JavaClassSet_JAVACDEBUG) \
-d $(gb_UnpackedTarball_workdir)/rhino/build/content \