mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
pjproject-bundled: Use AST_DEVMODE for conditional compilation.
We previously allowed resample and g711 codecs to be built when TEST_FRAMEWORK was enabled. This could cause errors if the testsuite was run without this option enabled. Switch the build system to allow those codecs to be built when --enable-dev-mode is used. This removes a chance for strange testsuite errors from use of an inadequate pjsua binary. Change-Id: Iee8a3613cdb711fa7e7d217c5a775a575907ae22
This commit is contained in:
2
third-party/pjproject/Makefile.rules
vendored
2
third-party/pjproject/Makefile.rules
vendored
@@ -39,7 +39,7 @@ PJPROJECT_CONFIG_OPTS = $(PJPROJECT_CONFIGURE_OPTS) --prefix=/opt/pjproject \
|
||||
--without-external-pa \
|
||||
--without-external-srtp
|
||||
|
||||
ifeq ($(findstring TEST_FRAMEWORK,$(MENUSELECT_CFLAGS)),)
|
||||
ifneq ($(AST_DEVMODE),yes)
|
||||
PJPROJECT_CONFIG_OPTS += --disable-resample --disable-g711-codec
|
||||
endif
|
||||
|
||||
|
Reference in New Issue
Block a user