meson: Do not use full path with mingw tools name

This helps to use mingw toolchains which are not in /usr/bin path.

PR #2185 <https://github.com/Genymobile/scrcpy/pull/2185>

Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
Biswapriyo Nath 2021-03-09 13:22:58 +05:30 committed by Romain Vimont
parent eb7e1070cf
commit d1789f082a
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'