]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
pjproject: disable building pjsua when a sanitizer is used master
authorMike Bradeen <mbradeen@sangoma.com>
Mon, 3 Aug 2026 19:35:37 +0000 (13:35 -0600)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Tue, 4 Aug 2026 13:45:27 +0000 (13:45 +0000)
Disable building the pjsua test application when any of the
SANITIZER flags are set.

Fixes: #2056
third-party/pjproject/Makefile

index 332ff30251111576309d614ed50b47916e4f8eeb..cc6271cf98b414117886d3f129af9883d637097a 100644 (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