Merge pull request #2573 from pecigonzalo/f-build-mingw
Update Make and Build.sh so it works on MinGW
This commit is contained in:
commit
cf8933e374
|
@ -62,7 +62,16 @@ case $(uname) in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
OLDIFS=$IFS
|
OLDIFS=$IFS
|
||||||
IFS=: MAIN_GOPATH=($GOPATH)
|
IFS=:
|
||||||
|
case $(uname) in
|
||||||
|
MINGW*)
|
||||||
|
IFS=";"
|
||||||
|
;;
|
||||||
|
MSYS*)
|
||||||
|
IFS=";"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
MAIN_GOPATH=($GOPATH)
|
||||||
IFS=$OLDIFS
|
IFS=$OLDIFS
|
||||||
|
|
||||||
# Copy our OS/Arch to the bin/ directory
|
# Copy our OS/Arch to the bin/ directory
|
||||||
|
|
Loading…
Reference in New Issue