fix installation for msys2 with mingw64

This commit is contained in:
therecipe 2017-03-01 15:02:27 +01:00
parent 864e4fbe10
commit 58c2df8b95

View file

@ -193,6 +193,9 @@ func getEnvAndTagflags(buildTarget string) (env map[string]string, tagFlags stri
"CGO_ENABLED": "1",
}
if utils.UseMsys2() {
env["GOARCH"] = utils.QT_MSYS2_ARCH()
}
}
}