annotate script/win32/configure-command-x-mingw @ 144:a0c5ef2265f5
 
This config script works better for libsndfile at least
 | author | Chris Cannam <cannam@all-day-breakfast.com> | 
 | date | Mon, 09 Jan 2017 13:57:37 +0000 | 
 | parents | c9cf28b398fb | 
 | children |  | 
 | rev | line source | 
  
| cannam@89 | 1 #!/bin/bash | 
| cannam@89 | 2 mypath=`pwd`/`dirname $0` | 
| cannam@89 | 3 deproot="$mypath"/../../ | 
| cannam@89 | 4 prefix="$deproot"/win32-mingw | 
| cannam@144 | 5 CXX="i686-w64-mingw32-g++ -I$prefix/include -L$prefix/lib" CC="i686-w64-mingw32-gcc -I$prefix/include -L$prefix/lib" ./configure --prefix=$prefix/ --host=i686-w64-mingw32 "$@" | 
| cannam@93 | 6 |