mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 11:11:05 +00:00
Add more --disable-* switches to Makefile.rules including --disable-opus which was causing bundled pjproject to fail with "undefined reference" errors in libasteriskpj. Changed PJ_ENABLE_EXTRA_CHECK to 1. Removed 2 obsolete patches and added a new one. The new one was merged by Teluu on 6/27/2016. ASTERISK-26148 #close Change-Id: Ib8af6c6a9d31f7238ce65b336134c2efdc855063
36 lines
853 B
Makefile
36 lines
853 B
Makefile
PJPROJECT_URL = http://www.pjsip.org/release/$(PJPROJECT_VERSION)
|
|
|
|
# Even though we're not installing pjproject, we're setting prefix to /opt/pjproject to be safe
|
|
|
|
PJPROJECT_CONFIG_OPTS = --prefix=/opt/pjproject \
|
|
--disable-speex-codec \
|
|
--disable-speex-aec \
|
|
--disable-speex-aec \
|
|
--disable-gsm-codec \
|
|
--disable-ilbc-codec \
|
|
--disable-l16-codec \
|
|
--disable-g711-codec \
|
|
--disable-g722-codec \
|
|
--disable-g7221-codec \
|
|
--disable-opencore-amr \
|
|
--disable-webrtc \
|
|
--disable-silk \
|
|
--disable-opus \
|
|
--disable-video \
|
|
--disable-v4l2 \
|
|
--disable-sound \
|
|
--disable-ext-sound \
|
|
--disable-oss \
|
|
--disable-sdl \
|
|
--disable-libyuv \
|
|
--disable-resample \
|
|
--disable-ffmpeg \
|
|
--disable-openh264 \
|
|
--disable-ipp \
|
|
--without-external-pa \
|
|
--with-external-srtp
|
|
|
|
ifeq ($(shell uname -s),Linux)
|
|
PJPROJECT_CONFIG_OPTS += --enable-epoll
|
|
endif
|