meson: Do not use full path with mingw tools name.

This helps to use mingw toolchains which are not in /usr/bin path.
This commit is contained in:
Biswapriyo Nath 2021-03-09 13:22:58 +05:30
commit 2868f199af
2 changed files with 10 additions and 10 deletions

View file

@ -2,11 +2,11 @@
[binaries] [binaries]
name = 'mingw' name = 'mingw'
c = '/usr/bin/i686-w64-mingw32-gcc' c = 'i686-w64-mingw32-gcc'
cpp = '/usr/bin/i686-w64-mingw32-g++' cpp = 'i686-w64-mingw32-g++'
ar = '/usr/bin/i686-w64-mingw32-ar' ar = 'i686-w64-mingw32-ar'
strip = '/usr/bin/i686-w64-mingw32-strip' strip = 'i686-w64-mingw32-strip'
pkgconfig = '/usr/bin/i686-w64-mingw32-pkg-config' pkgconfig = 'i686-w64-mingw32-pkg-config'
[host_machine] [host_machine]
system = 'windows' system = 'windows'

View file

@ -2,11 +2,11 @@
[binaries] [binaries]
name = 'mingw' name = 'mingw'
c = '/usr/bin/x86_64-w64-mingw32-gcc' c = 'x86_64-w64-mingw32-gcc'
cpp = '/usr/bin/x86_64-w64-mingw32-g++' cpp = 'x86_64-w64-mingw32-g++'
ar = '/usr/bin/x86_64-w64-mingw32-ar' ar = 'x86_64-w64-mingw32-ar'
strip = '/usr/bin/x86_64-w64-mingw32-strip' strip = 'x86_64-w64-mingw32-strip'
pkgconfig = '/usr/bin/x86_64-w64-mingw32-pkg-config' pkgconfig = 'x86_64-w64-mingw32-pkg-config'
[host_machine] [host_machine]
system = 'windows' system = 'windows'