openjdk11: use symlink instead of another copy for src.zip

This commit is contained in:
Sarunas Valaskevicius 2020-09-29 10:24:15 +01:00
parent 7cee92a1cc
commit daadfcfb82

View File

@ -77,7 +77,6 @@ let
mkdir -p $out/lib
mv build/*/images/jdk $out/lib/openjdk
mv build/*/support/src.zip $out/lib/src.zip
# Remove some broken manpages.
rm -rf $out/lib/openjdk/man/ja*
@ -86,6 +85,7 @@ let
mkdir -p $out/share
ln -s $out/lib/openjdk/include $out/include
ln -s $out/lib/openjdk/man $out/share/man
ln -s $out/lib/openjdk/lib/src.zip $out/lib/src.zip
# jni.h expects jni_md.h to be in the header search path.
ln -s $out/include/linux/*_md.h $out/include/