From 87d75f039a51818374f0ba97cbc03ebfa1d8b33c Mon Sep 17 00:00:00 2001 From: Mike Bradeen Date: Mon, 3 Aug 2026 13:35:37 -0600 Subject: [PATCH] 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 --- third-party/pjproject/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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