closer, but wants a fat binary

This commit is contained in:
Ben Fry
2022-01-25 09:15:31 -05:00
parent bcb38d1f28
commit c9778aac2b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -4,4 +4,5 @@
default:
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
@@ -24,6 +24,7 @@
THE SOFTWARE.
*/
#import <Cocoa/Cocoa.h>
//#import "jAppleMenuBar.h"
#import <JavaNativeFoundation/JavaNativeFoundation.h> // helper framework for Cocoa and JNI development
//#import <Carbon/Carbon.h> // helper framework for Cocoa and JNI development