Skip to content

Commit

Permalink
Merge pull request #25 from jaikiran/macos-build-fix
Browse files Browse the repository at this point in the history
Fix build on MacOS with Java 8
  • Loading branch information
stuartwdouglas committed Nov 9, 2017
2 parents 65b7c9d + 0e31d81 commit 293a79a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macosx-x86_64/Makefile
Expand Up @@ -11,7 +11,7 @@ target/classes/macosx-x86_64:
mkdir -p target/classes/macosx-x86_64

target/%.o : ../libwfssl/src/%.c target/classes/macosx-x86_64
$(CC) $(CFLAGS) -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wpointer-arith -std=c89 -Wdeclaration-after-statement -Wformat -Wformat-security -Wunused -Wno-unknown-pragmas -c $< -o $@ -I../libwfssl/include
$(CC) $(CFLAGS) -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wpointer-arith -std=c89 -Wdeclaration-after-statement -Wformat -Wformat-security -Wunused -Wno-unknown-pragmas -c $< -o $@ -I../libwfssl/include -I${JAVA_HOME}/include -I${JAVA_HOME}/include/darwin

target/classes/macosx-x86_64/libwfssl.dylib: $(OBJ)
$(CC) $(CFLAGS) -dynamiclib $(OBJ) -o $@ $(LDFLAGS)

0 comments on commit 293a79a

Please sign in to comment.