mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
remaining todos for jAppleMenuBar cleanup
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
#!/usr/bin/make
|
||||
|
||||
# Helpful information used to create this code
|
||||
# https://gist.github.com/DmitrySoshnikov/8b1599a5197b5469c8cc07025f600fdb
|
||||
# https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary
|
||||
|
||||
CC=gcc
|
||||
JAVA_HOME="`/usr/libexec/java_home -v 11`"
|
||||
JNI=-I${JAVA_HOME}/include -I${JAVA_HOME}/include/darwin/
|
||||
# JNI11=-I`/usr/libexec/java_home -v 11`/include -I`/usr/libexec/java_home -v 11`/include/darwin/
|
||||
# JNI17=-I`/usr/libexec/java_home -v 17`/include -I`/usr/libexec/java_home -v 17`/include/darwin/
|
||||
|
||||
default: universal_lib
|
||||
|
||||
@@ -16,8 +18,3 @@ arm_lib: jAppleMenuBar.m
|
||||
|
||||
universal_lib: x64_lib arm_lib
|
||||
lipo -create -output libjAppleMenuBar.jnilib libjAppleMenuBar_x86_64 libjAppleMenuBar_aarch64
|
||||
|
||||
# JAVA_HOME="`/usr/libexec/java_home -v 11`"
|
||||
# gcc -I${JAVA_HOME}/include -I${JAVA_HOME}/include/darwin/ \
|
||||
# -arch x86_64 -arch arm64 \
|
||||
# -o libjAppleMenuBar.jnilib -shared jAppleMenuBar.m
|
||||
|
||||
@@ -4,6 +4,7 @@ X https://github.com/processing/processing4/issues/221
|
||||
o seems to be working fine; not sure, but have to roll with it for now
|
||||
X breaks on aarch64
|
||||
X https://github.com/processing/processing4/issues/372
|
||||
_ rename jAppleMenuBar, make part of build process
|
||||
|
||||
|
||||
macos-aarch64
|
||||
|
||||
Reference in New Issue
Block a user