summaryrefslogtreecommitdiff
path: root/third-party/pjproject/Makefile.rules
diff options
context:
space:
mode:
Diffstat (limited to 'third-party/pjproject/Makefile.rules')
-rw-r--r--third-party/pjproject/Makefile.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/third-party/pjproject/Makefile.rules b/third-party/pjproject/Makefile.rules
index 531a259d3..ae4b6a5f9 100644
--- a/third-party/pjproject/Makefile.rules
+++ b/third-party/pjproject/Makefile.rules
@@ -28,6 +28,10 @@ PJPROJECT_CONFIG_OPTS = --prefix=/opt/pjproject \
--without-external-pa \
--without-external-srtp
+ifeq ($(findstring TEST_FRAMEWORK,$(MENUSELECT_CFLAGS)),)
+ PJPROJECT_CONFIG_OPTS += --disable-resample --disable-g711-codec
+endif
+
ifeq ($(shell uname -s),Linux)
PJPROJECT_CONFIG_OPTS += --enable-epoll
endif