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
This commit is contained in:
Mike Bradeen 2026-08-03 13:35:37 -06:00 committed by github-actions[bot]
parent b531f71b12
commit 2720b1025e

View file

@ -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