shithub: sox

Download patch

ref: 5590cbc78e734652d3cd0974500d1cd80de61b3e
parent: ad03ae0dadcba89dade13e2bb7a78e1763f80d79
author: Chris Bagwell <chris@cnpbagwell.com>
date: Mon Dec 22 13:15:35 EST 2014

Distribute real sox.exe and not libtool wrapper.

--- a/mingwbuild
+++ b/mingwbuild
@@ -97,7 +97,7 @@
 # Reduce total size of sox.exe by over half.
 make -s all txt $DOC_TARGETS || exit 1
 
-${STRIP} src/sox.exe
+${STRIP} src/.libs/sox.exe
 
 dir=sox-`grep Version: sox.pc | cut -d ' ' -f 2`
 rm -rf $dir $dir-win32.zip
@@ -108,7 +108,7 @@
   unix2dos $dir/$f.txt
 done
 
-binaries=src/sox.exe
+binaries=src/.libs/sox.exe
 
 dlls=`/usr/i686-w64-mingw32/bin/objdump -p src/.libs/libsox-3.dll | grep "DLL Name:" | sed "s|DLL Name: |${SYS_ROOT}/mingw/bin/|" | grep -v KERNEL32.dll | grep -v msvcrt.dll | grep -v USER32.dll | grep -v WINMM.DLL`
 dlls="$dlls src/.libs/libsox-3.dll"