build: don't hardcode cross-toolchain path

It doesn't seem to be needed, and this makes the build work for
environments where MinGW-w64 cross-toolchains get installed someplace
else (e.g. macOS with Homebrew to /usr/local).
This commit is contained in:
888be1df7c6f962725a28a172a5394eec3e228e7 2019-11-08 02:03:55 +01:00 committed by 60daf3294cf22cc33f1867aea601a8768ad1dade
parent 862dcd224e
commit ab0549b7a4
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
[binaries]
c = '/usr/bin/i686-w64-mingw32-gcc'
ar = '/usr/bin/i686-w64-mingw32-ar'
strip = '/usr/bin/i686-w64-mingw32-strip'
c = 'i686-w64-mingw32-gcc'
ar = 'i686-w64-mingw32-ar'
strip = 'i686-w64-mingw32-strip'
[host_machine]
system = 'windows'

View File

@ -1,7 +1,7 @@
[binaries]
c = '/usr/bin/x86_64-w64-mingw32-gcc'
ar = '/usr/bin/x86_64-w64-mingw32-ar'
strip = '/usr/bin/x86_64-w64-mingw32-strip'
c = 'x86_64-w64-mingw32-gcc'
ar = 'x86_64-w64-mingw32-ar'
strip = 'x86_64-w64-mingw32-strip'
[host_machine]
system = 'windows'