From: Joshua Colp Date: Sun, 15 Feb 2015 18:00:18 +0000 (+0000) Subject: install_prereq: Tweak flags when configuring pjproject. X-Git-Tag: 14.0.0-beta1~1245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55709bc1f75cddb509b9dc0d208e6e8032d3f2b5;p=thirdparty%2Fasterisk.git install_prereq: Tweak flags when configuring pjproject. This change does two things: 1. Disables debugging so assertions which can return an error do, instead of asserting. 2. Enables IPv6 support. ASTERISK-24632 #close Reported by: Rusty Newton ........ Merged revisions 431843 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@431844 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq index ca02b75dc5..58ef05ca2c 100755 --- a/contrib/scripts/install_prereq +++ b/contrib/scripts/install_prereq @@ -163,7 +163,7 @@ install_unpackaged() { cd pjproject git pull fi - ./configure --enable-shared --with-external-speex --with-external-gsm --with-external-srtp --disable-sound --disable-resample && make && make install + ./configure CFLAGS="-DNDEBUG -DPJ_HAS_IPV6=1" --enable-shared --with-external-speex --with-external-gsm --with-external-srtp --disable-sound --disable-resample && make && make install cd .. echo "/usr/local/lib" > /etc/ld.so.conf.d/usr_local.conf /sbin/ldconfig