From: Joshua Colp Date: Tue, 1 Jan 2008 23:09:32 +0000 (+0000) Subject: Fix building of codec_resample on platforms other then Cygwin. On everything else... X-Git-Tag: 1.6.0-beta1~3^2~241 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0944cde47c7aa3ba14b313859b8d50735a88d8d;p=thirdparty%2Fasterisk.git 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 --- diff --git a/codecs/Makefile b/codecs/Makefile index 3fcfd88b1c..f7bde5c501 100644 --- a/codecs/Makefile +++ b/codecs/Makefile @@ -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