Add build scripts and shared libraries for linux x64

This commit is contained in:
Cameron Gutman
2013-12-10 15:07:58 -05:00
parent b02a3c1f28
commit ad5d7cad23
12 changed files with 15 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
rm *.o libnv_opus_dec.so
gcc -I include -I /usr/lib/jvm/java-7-openjdk-amd64/include/ -I ./inc -fPIC -c *.c
gcc -shared -Wl,-soname,libnv_opus_dec.so -Wl,--no-undefined -o libnv_opus_dec.so *.o -L. -lopus
rm *.o