summaryrefslogtreecommitdiffstats
path: root/make/scripts/make.macosx.jdk_lipo_libs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make/scripts/make.macosx.jdk_lipo_libs.sh')
-rw-r--r--make/scripts/make.macosx.jdk_lipo_libs.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/make/scripts/make.macosx.jdk_lipo_libs.sh b/make/scripts/make.macosx.jdk_lipo_libs.sh
index 3dcb9ab..5619bc5 100644
--- a/make/scripts/make.macosx.jdk_lipo_libs.sh
+++ b/make/scripts/make.macosx.jdk_lipo_libs.sh
@@ -1,5 +1,18 @@
#! /bin/sh
+#
+# First unpack the OpenJDK (Temurin) package
+# for amd64 and arm64.
+# Then copy each lib-folder 'temurin-xy.jdk/Contents/Home/lib/'
+# to their respective target lib-folder:
+# - temurin-xy.jdk.amd64.lib/
+# - temurin-xy.jdk.arm64.lib/
+#
+# Now we can run this script producing fat lipo dylib files,
+# placed into
+# - temurin-xy.jdk.fat.lib
+#
+
amd64_dir=$HOME/temurin-17.jdk.amd64.lib
arm64_dir=$HOME/temurin-17.jdk.arm64.lib
fat_dir=$HOME/temurin-17.jdk.fat.lib