[asterisk-commits] file: trunk r95648 - /trunk/codecs/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 1 17:09:32 CST 2008


Author: file
Date: Tue Jan  1 17:09:32 2008
New Revision: 95648

URL: http://svn.digium.com/view/asterisk?view=rev&rev=95648
Log:
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.

Modified:
    trunk/codecs/Makefile

Modified: trunk/codecs/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/codecs/Makefile?view=diff&rev=95648&r1=95647&r2=95648
==============================================================================
--- trunk/codecs/Makefile (original)
+++ trunk/codecs/Makefile Tue Jan  1 17:09:32 2008
@@ -56,4 +56,6 @@
 $(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




More information about the asterisk-commits mailing list