Fix building of codec_resample on platforms other then Cygwin. On everything else it actually gets built after codec_resample, so you can't exactly link it in since it doesn't exist.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2008-01-01 23:09:32 +00:00
parent e637f2c038
commit d0944cde47

View File

@@ -56,4 +56,6 @@ $(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
ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
codec_resample.so: LIBS += $(ASTTOPDIR)/main/libresample/libresample.a
endif