Fix building of codec_resample on platforms other then Cygwin. On everything else...
authorJoshua Colp <jcolp@digium.com>
Tue, 1 Jan 2008 23:09:32 +0000 (23:09 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 1 Jan 2008 23:09:32 +0000 (23:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95648 65c4cc65-6c06-0410-ace0-fbb531ad65f3

codecs/Makefile

index 3fcfd88..f7bde5c 100644 (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