shithub: sox

Download patch

ref: 15ebba4d7a78506d639a2329aadfdeabb7236fa9
parent: d9dd6b9d6fb0a322faf85c0f85590e0e5119c3c3
author: cbagwell <cbagwell>
date: Thu Jan 18 05:40:49 EST 2007

Get working on cygwin where sox != sox.exe

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,7 +2,7 @@
 
 SUBDIRS = libgsm
 
-AM_CFLAGS = $(LUA_INCLUDES)
+AM_CPPFLAGS = $(LUA_INCLUDES)
 AM_LDFLAGS = @SAMPLERATE_LIBS@
 
 # Pass flags from --enable-silent-libtool
@@ -36,16 +36,16 @@
 sox_SOURCES = sox.c
 sox_LDADD = libst.la libgsm/libgsm.la $(LUA_LIBS)
 
-all: sox play rec
+all: sox$(EXEEXT) play rec
 
 libgsm/libgsm.la:
 	$(MAKE) -C libgsm
 
-play: sox
+play: sox$(EXEEXT)
 	./sox --help > /dev/null
 	$(LN_S) .libs/lt-sox play
 
-rec: sox
+rec: sox$(EXEEXT)
 	./sox --help > /dev/null
 	$(LN_S) .libs/lt-sox rec