From dbfa56584cac08cae733513c13803a9c6ece22f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fridrich=20=C5=A0trba?= Date: Mon, 24 Jun 2024 23:44:14 +0200 Subject: [PATCH] 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 --- external/rhino/ExternalProject_rhino.mk | 1 + 1 file changed, 1 insertion(+) 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 \