mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
make codec_resample build on __CYGWIN__, and make it load on FreeBSD
(and probably other systems as well). Both need libresample.a to be specified in the linking phase, and cygwin needs <float.h> as other BSD. The checks for OS-specific headers should really be moved to some common header though. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95625 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -56,3 +56,4 @@ $(LIBG722):
|
||||
$(if $(filter codec_g722,$(EMBEDDED_MODS)),modules.link,codec_g722.so): $(LIBG722)
|
||||
|
||||
codec_resample.o: ASTCFLAGS+=-I$(ASTTOPDIR)/main/libresample/include
|
||||
codec_resample.so: LIBS += $(ASTTOPDIR)/main/libresample/libresample.a
|
||||
|
Reference in New Issue
Block a user