Commit 2720b1025e for asterisk.org
commit 2720b1025ef43d4c631b810c0c3c9f651f785ca1
Author: Mike Bradeen <mbradeen@sangoma.com>
Date: Mon Aug 3 13:35:37 2026 -0600
pjproject: disable building pjsua when a sanitizer is used
Disable building the pjsua test application when any of the
SANITIZER flags are set.
Fixes: #2056
diff --git a/third-party/pjproject/Makefile b/third-party/pjproject/Makefile
index 332ff30251..cc6271cf98 100644
--- a/third-party/pjproject/Makefile
+++ b/third-party/pjproject/Makefile
@@ -60,8 +60,10 @@ ifeq ($(SPECIAL_TARGETS),)
CF := $(filter-out -I%,$(CF))
ifeq ($(PJPROJECT_BUNDLED_OOT),)
ifeq ($(AST_DEVMODE),yes)
+ ifeq ($(findstring _SANITIZER,$(MENUSELECT_CFLAGS)),)
apps := source/pjsip-apps/bin/pjsua-$(TARGET_NAME)
TARGETS += $(apps)
+ endif
CF += -DPJPROJECT_BUNDLED_ASSERTIONS=yes
endif
endif