diff --git a/daemon/libs/compile_pjsip.sh b/daemon/libs/compile_pjsip.sh index a957bd200ebbd70cd9f3ed456237770a1b32ccb9..ffdb3e2e4641b46fc5d6274e18ffe191175c0251 100755 --- a/daemon/libs/compile_pjsip.sh +++ b/daemon/libs/compile_pjsip.sh @@ -9,6 +9,11 @@ then CONFIGURE=./configure-android # android doesn't need make MAKE="make dep" +elif [ "$1" == "-c" ] +then + export CC=clang + CONFIGURE=./configure + MAKE="make dep && make" else echo "Usage: $0 [or -a for android]" exit 1