From 886f7499fbb6847a560c6508cad01837aad97634 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 16 Feb 2014 11:40:36 +1100 Subject: [PATCH] Update compile-native script. --- native/compile-native.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/compile-native.sh b/native/compile-native.sh index ecfd206a..45e1164f 100755 --- a/native/compile-native.sh +++ b/native/compile-native.sh @@ -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