shithub: sox

Download patch

ref: 12bfcf2d4a0bee61b1b1dc3ebdc0fb38db30e325
parent: f7b5831cebbe1f527782892fc5d8bde8f74cb801
author: cbagwell <cbagwell>
date: Wed Dec 16 22:47:37 EST 2009

When mingw supports openmp, need to distribute some extra libraries.

--- a/mingwbuild
+++ b/mingwbuild
@@ -111,7 +111,10 @@
 binaries=src/sox.exe
 # If you do not edit libpng.la to comment out shared libraries
 # then you'll need to distribute zlib1.dll.
-#binaries=$binaries /usr/i686-pc-mingw32/sys-root/mingw/bin/zlib1.dll
+#binaries="$binaries /usr/i686-pc-mingw32/sys-root/mingw/bin/zlib1.dll"
+
+binaries="$binaries /usr/i686-pc-mingw32/sys-root/mingw/bin/libgomp-1.dll"
+binaries="$binaries /usr/i686-pc-mingw32/sys-root/mingw/bin/pthreadGC2.dll"
 
 cp -p \
   $binaries \