Skip to content

Commit dbfcbfe

Browse files
committed
Extract pjsip archive before build
1 parent 025ce54 commit dbfcbfe

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

build_inplace

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/bin/sh
22

3+
chmod +x extract_pjsip.sh
4+
./extract_pjsip.sh
5+
36
chmod +x deps/pjsip/configure
47
chmod +x deps/pjsip/aconfigure
58
python3 setup.py build_ext --inplace "$@"
69
test -d build && python3 setup.py clean
7-

docs/Install.linux

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ sudo dpkg -i *.deb
8181
Step 4. Install the SDK
8282
-----------------------
8383

84+
First unpack pjsip archive (only needs to be done once):
85+
86+
./extract_pjsip.sh
87+
8488
The SDK consists of two packages:
8589

8690
- python3-sipsimple

extract_pjsip.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
if [ ! -d deps/pjsip ]; then
3+
tar zxvf deps/pjsip-2.10.tgz -C deps/
4+
fi

0 commit comments

Comments
 (0)