diff options
Diffstat (limited to 'src/native/linux/libjmf_alsa/build.sh')
-rw-r--r-- | src/native/linux/libjmf_alsa/build.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/native/linux/libjmf_alsa/build.sh b/src/native/linux/libjmf_alsa/build.sh new file mode 100644 index 0000000..8e6230f --- /dev/null +++ b/src/native/linux/libjmf_alsa/build.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +#set the path to your jvm/jni includes here + +JNI_INCLUDE_PATH=/usr/lib/jvm/java-6-sun-1.6.0.00/include +LIBS=-lasound + +rm -f libjmf_alsa.so + +gcc -shared -o libjmf_alsa.so $LIBS -I$JNI_INCLUDE_PATH -I$JNI_INCLUDE_PATH/linux net_java_sip_communicator_impl_media_protocol_alsa_AlsaStream.c |