mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
win32: Detect the mingw32 cross compiler on Fedora
Fedora mingw32 cross compiler is prefix with i686-pc-mingw32-.
This commit is contained in:
parent
e73d5b30bb
commit
c1878316e0
@ -123,7 +123,7 @@ function find_compiler ()
|
|||||||
local gccbin fullpath;
|
local gccbin fullpath;
|
||||||
|
|
||||||
if [ -z "$MINGW_TOOL_PREFIX" ]; then
|
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`";
|
fullpath="`which $gccbin 2>/dev/null`";
|
||||||
if [ "$?" -eq 0 ]; then
|
if [ "$?" -eq 0 ]; then
|
||||||
MINGW_TOOL_PREFIX="${fullpath%%gcc}";
|
MINGW_TOOL_PREFIX="${fullpath%%gcc}";
|
||||||
|
Loading…
Reference in New Issue
Block a user