Skip to content

Commit

Permalink
macOS natives: don't need to link Java framework.
Browse files Browse the repository at this point in the history
The project doesn't actually use any headers from the JavaVM framework,
so we don't need to link against it.
  • Loading branch information
MrDOS committed Aug 25, 2023
1 parent 779b2b5 commit 3310fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ ppc:

# Requires a macOS host.
osx: export CFLAGS += -I$(JAVA_HOME)/include/darwin -arch x86_64
osx: export LDFLAGS := -arch x86_64 -dynamiclib -framework JavaVM -framework IOKit -framework CoreFoundation
osx: export LDFLAGS := -arch x86_64 -dynamiclib -framework IOKit -framework CoreFoundation
osx: export objects := fuserImp.o SerialImp.o
osx: export platform := osx
osx: export lib_type := jnilib
Expand Down

0 comments on commit 3310fcf

Please sign in to comment.