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 6f580b1666
commit 62dd9887a2
3 changed files with 15 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
rm *.o libnv_avc_dec.so
gcc -I /usr/lib/jvm/java-7-openjdk-amd64/include/ -I ./inc -fPIC -L. -c *.c
gcc -shared -Wl,-soname,libnv_avc_dec.so -Wl,--no-undefined -o libnv_avc_dec.so *.o -L. -lavcodec -lavfilter -lavformat -lavutil -lswresample -lswscale
rm *.o
+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