Compile sofia in the versioned directory

This commit is contained in:
FusionPBX 2023-12-06 10:53:47 -07:00 committed by GitHub
parent b8e9252375
commit 7ce1d5eea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -57,9 +57,7 @@ if [ $(echo "$switch_version" | tr -d '.') -gt 1100 ]; then
#git clone https://github.com/freeswitch/sofia-sip.git sofia-sip #git clone https://github.com/freeswitch/sofia-sip.git sofia-sip
wget https://github.com/freeswitch/sofia-sip/archive/refs/tags/v$sofia_version.zip wget https://github.com/freeswitch/sofia-sip/archive/refs/tags/v$sofia_version.zip
unzip v$sofia_version.zip unzip v$sofia_version.zip
rm -R sofia-sip cd sofia-sip-$sofia_version
mv sofia-sip-$sofia_version sofia-sip
cd sofia-sip
sh autogen.sh sh autogen.sh
./configure ./configure
make -j $(getconf _NPROCESSORS_ONLN) make -j $(getconf _NPROCESSORS_ONLN)

View File

@ -44,9 +44,7 @@ cd /usr/src
#git clone https://github.com/freeswitch/sofia-sip.git sofia-sip #git clone https://github.com/freeswitch/sofia-sip.git sofia-sip
wget https://github.com/freeswitch/sofia-sip/archive/refs/tags/v$sofia_version.zip wget https://github.com/freeswitch/sofia-sip/archive/refs/tags/v$sofia_version.zip
unzip v$sofia_version.zip unzip v$sofia_version.zip
rm -R sofia-sip cd sofia-sip-$sofia_version
mv sofia-sip-$sofia_version sofia-sip
cd sofia-sip
sh autogen.sh sh autogen.sh
./configure ./configure
make make