codec_resample: Ensure OUTSIDE_SPEEX is defined when necessary

ASTERISK-28511

Change-Id: If0d58598ce14aad3c786a1c0127b5f7b200b737d
This commit is contained in:
Sean Bright
2019-09-08 11:38:57 -04:00
parent 1158411f53
commit bf527810ef

View File

@@ -90,4 +90,5 @@ SPEEX_RESAMPLE_CFLAGS:=
endif
$(call MOD_ADD_C,codec_resample,speex/resample.c)
codec_resample.o: _ASTCFLAGS+=-DOUTSIDE_SPEEX
speex/resample.o: _ASTCFLAGS+=$(SPEEX_RESAMPLE_CFLAGS) -DOUTSIDE_SPEEX -DEXPORT=