shithub: sox

Download patch

ref: 7cf7395e8bba8d81baa9d16a182c43d2a2482a16
parent: 215c90542b14026b4ba9fd571608f4b893d5e236
author: cbagwell <cbagwell>
date: Tue Dec 29 21:36:28 EST 2009

remote -static and use gcc.  Add cygwin32 to ZIP filename.

--- a/cygbuild
+++ b/cygbuild
@@ -74,9 +74,9 @@
     --disable-shared \
     --with-libltdl \
     --enable-dl-lame --enable-dl-mad --enable-dl-amrnb --enable-dl-amrwb \
-    CC=gcc-3 CPP=cpp\
+    CC=gcc CPP=cpp\
     CPPFLAGS=-I/usr/local/include \
-    LDFLAGS="-static -L/usr/local/lib" \
+    LDFLAGS="-L/usr/local/lib" \
     SNDFILE_LIBS="-lsndfile -lFLAC -lvorbisenc -lvorbisfile -lvorbis -logg" \
     $*
 fi
@@ -84,7 +84,7 @@
 make -s all pdf txt || exit 1
 
 dir=sox-`grep Version: sox.pc | cut -d ' ' -f 2`
-rm -rf $dir $dir-win32.zip
+rm -rf $dir $dir-cygwin32.zip
 mkdir -p $dir
 
 for f in ChangeLog LICENSE.GPL README README.win32; do
@@ -120,5 +120,5 @@
   fi
 fi
 
-zip -r $dir-win32.zip $dir
+zip -r $dir-cygwin32.zip $dir
 rm -rf $dir