Mercurial > hg > sv-dependency-builds
comparison src/libsndfile-1.0.27/Scripts/linux-to-win-cross-configure.sh @ 40:1df64224f5ac
Current libsndfile source
author | Chris Cannam |
---|---|
date | Tue, 18 Oct 2016 13:22:47 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
39:7ddb4fc30dac | 40:1df64224f5ac |
---|---|
1 #!/bin/bash | |
2 | |
3 case "$1" in | |
4 w32) | |
5 compiler_name=i686-w64-mingw32 | |
6 ;; | |
7 w64) | |
8 compiler_name=x86_64-w64-mingw32 | |
9 ;; | |
10 *) | |
11 echo "$0 (w32|w64) <other args>" | |
12 exit 0 | |
13 ;; | |
14 esac | |
15 | |
16 shift | |
17 | |
18 build_cpu=$(dpkg-architecture -qDEB_BUILD_GNU_CPU) | |
19 build_host=$build_cpu-linux | |
20 | |
21 ./configure --host=$compiler_name --target=$compiler_name --build=$build_host \ | |
22 --program-prefix='' --disable-sqlite --disable-static $@ |