From b5cc3debc8a0d3806e44441452a31b3d551a878c Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Fri, 12 Apr 2024 19:45:35 +0300 Subject: [PATCH] fix(openjdk) (#5867) * fix(openjdk) * might as well link all of them --------- Co-authored-by: Jacob Heider --- projects/openjdk.org/package.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/projects/openjdk.org/package.yml b/projects/openjdk.org/package.yml index 9a91faae..314493bc 100644 --- a/projects/openjdk.org/package.yml +++ b/projects/openjdk.org/package.yml @@ -90,6 +90,14 @@ build: - make images $MAKE_ARGS - mkdir -p {{prefix}} - mv $JDK_DIR {{prefix}}/ + - run: | + # jni.h:45:10: fatal error: 'jni_md.h' file not found + if test -d {{ hw.platform }}; then + mv {{ hw.platform }}/* . + rmdir {{ hw.platform }} + ln -s . {{ hw.platform }} + fi + working-directory: ${{prefix}}/include env: MAKE_ARGS: 'JOBS={{ hw.concurrency }}' darwin: