summaryrefslogtreecommitdiff
path: root/codecs/Makefile
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2008-01-01 23:09:32 +0000
committerJoshua Colp <jcolp@digium.com>2008-01-01 23:09:32 +0000
commitd0944cde47c7aa3ba14b313859b8d50735a88d8d (patch)
tree3a6e18ab0ed51ba8be65e24ce5f3ee2699845ffc /codecs/Makefile
parente637f2c03823576f7146aab58a49276bb55696ff (diff)
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
Diffstat (limited to 'codecs/Makefile')
-rw-r--r--codecs/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/codecs/Makefile b/codecs/Makefile
index 3fcfd88b1..f7bde5c50 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