diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-01 23:09:32 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-01 23:09:32 +0000 |
commit | 59bc75d1f804682e2224b1b4587be7e738ecf188 (patch) | |
tree | 3a6e18ab0ed51ba8be65e24ce5f3ee2699845ffc | |
parent | 5503f69d4cd1fdea1cc66713c0783569dfafb69f (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: http://svn.digium.com/svn/asterisk/trunk@95648 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | codecs/Makefile | 4 |
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 |