diff --git a/tools/build-system/launch-build-machine-jenkins.sh b/tools/build-system/launch-build-machine-jenkins.sh index 008ce8d40fcec045b725c68e4b8d100920b31a5c..fd6e661397869275ffce7a82fb75f08d6b284e5b 100755 --- a/tools/build-system/launch-build-machine-jenkins.sh +++ b/tools/build-system/launch-build-machine-jenkins.sh @@ -274,12 +274,17 @@ END cd ${LAUNCHPAD_DIR}/${LAUNCHPAD_PACKAGE} if [ "${DIRNAME}" == "daemon" ]; then - mkdir -p contrib/native - pushd contrib/native - ../bootstrap - # only fetch it, don't build it - make iax - popd + if [ -d contrib ]; then + mkdir -p contrib/native + pushd contrib/native + ../bootstrap + # only fetch it, don't build it + make iax + else + pushd libs + ./compile_pjsip.sh + fi + popd fi if [ "${LAUNCHPAD_PACKAGE}" != "sflphone-kde" ]; then ./autogen.sh