aboutsummaryrefslogtreecommitdiffstats
path: root/codecs
diff options
context:
space:
mode:
Diffstat (limited to 'codecs')
-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