Skip to content

Commit 14ff818

Browse files
committed
macOS natives: don't need to link Java framework.
The project doesn't actually use any headers from the JavaVM framework, so we don't need to link against it.
1 parent 632c676 commit 14ff818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/c/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ ppc:
216216

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

0 commit comments

Comments
 (0)