# Note: depends on patch wget -c http://www.pjsip.org/release/2.7.2/pjproject-2.7.2.tar.bz2 tar -xjf pjproject-2.7.2.tar.bz2 cd pjproject-2.7.2 sed -i -e 's/SSLv3\(_server\|\)_method/TLS\1_method/; s/SSL_is_server\(([^)]*)\)/\1->server/' pjlib/src/pj/ssl_sock_ossl.c ./configure --prefix="/usr" --enable-shared CFLAGS="-DOPENSSL_NO_EGD=1 -DPJSIP_MAX_PKT_LEN=8000" make # Doesn't mind -j# make install