]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
codec_resample: Ensure OUTSIDE_SPEEX is defined when necessary
authorSean Bright <sean.bright@gmail.com>
Sun, 8 Sep 2019 15:38:57 +0000 (11:38 -0400)
committerSean Bright <sean.bright@gmail.com>
Sun, 8 Sep 2019 15:39:55 +0000 (11:39 -0400)
ASTERISK-28511

Change-Id: If0d58598ce14aad3c786a1c0127b5f7b200b737d

codecs/Makefile

index 263f07b5fc4962d59cc887331085d336877e0ac2..4b19a396d27f629a031ec9e2b14def1fa1a7a705 100644 (file)
@@ -92,6 +92,7 @@ else
 SPEEX_RESAMPLE_CFLAGS:=
 endif
 
+codec_resample.o: _ASTCFLAGS+=-DOUTSIDE_SPEEX
 codec_resample.so: speex/resample.o
 
 speex/resample.o: _ASTCFLAGS+=$(call MOD_ASTCFLAGS,codec_resample) $(SPEEX_RESAMPLE_CFLAGS) -DOUTSIDE_SPEEX -DEXPORT=