Update compile-native script.

This commit is contained in:
md_5 2014-02-16 11:40:36 +11:00
parent 8064a3d4fb
commit 886f7499fb

View File

@ -1,3 +1,3 @@
#!/bin/sh
gcc -shared -fPIC -O3 -Werror -I$JAVA_HOME/include/ src/main/c/NativeCipherImpl.c -o src/main/resources/native-cipher.so -lcrypto
gcc -shared -fPIC -O3 -Werror -I$JAVA_HOME/include/ -I$JAVA_HOME/include/linux/ src/main/c/NativeCipherImpl.c -o src/main/resources/native-cipher.so -lcrypto