projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e73d5b3
)
win32: Detect the mingw32 cross compiler on Fedora
author
Damien Lespiau
<damien.lespiau@intel.com>
Thu, 2 Dec 2010 15:41:43 +0000
(15:41 +0000)
committer
Damien Lespiau
<damien.lespiau@intel.com>
Thu, 2 Dec 2010 16:54:41 +0000
(16:54 +0000)
Fedora mingw32 cross compiler is prefix with i686-pc-mingw32-.
build/mingw/mingw-cross-compile.sh
patch
|
blob
|
history
diff --git
a/build/mingw/mingw-cross-compile.sh
b/build/mingw/mingw-cross-compile.sh
index
dc85652
..
fd095c2
100755
(executable)
--- a/
build/mingw/mingw-cross-compile.sh
+++ b/
build/mingw/mingw-cross-compile.sh
@@
-123,7
+123,7
@@
function find_compiler ()
local gccbin fullpath;
if [ -z "$MINGW_TOOL_PREFIX" ]; then
- for gccbin in i{3,4,5,6}86-mingw32{,msvc}-gcc; do
+ for gccbin in i{3,4,5,6}86
{-pc,}
-mingw32{,msvc}-gcc; do
fullpath="`which $gccbin 2>/dev/null`";
if [ "$?" -eq 0 ]; then
MINGW_TOOL_PREFIX="${fullpath%%gcc}";