diff options
author | Joshua Colp <jcolp@digium.com> | 2015-02-15 17:59:26 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2015-02-15 17:59:26 +0000 |
commit | cbe63ab2830b0cb18f61109baebd004bdde32598 (patch) | |
tree | a17d24f95e0d8a651bde5df08916fb956fe655ba /contrib/scripts/install_prereq | |
parent | c8f3074cc4b96a884d67c70b74dfacf68272773a (diff) |
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
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@431843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'contrib/scripts/install_prereq')
-rwxr-xr-x | contrib/scripts/install_prereq | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq index ca02b75dc..58ef05ca2 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 |