From d1789f082a6bbb883e964f2b6136f0c89ead3cde Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 9 Mar 2021 13:22:58 +0530 Subject: [PATCH] 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 Signed-off-by: Romain Vimont --- cross_win32.txt | 10 +++++----- cross_win64.txt | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cross_win32.txt b/cross_win32.txt index a662ae20..0d8a843a 100644 --- a/cross_win32.txt +++ b/cross_win32.txt @@ -2,11 +2,11 @@ [binaries] name = 'mingw' -c = '/usr/bin/i686-w64-mingw32-gcc' -cpp = '/usr/bin/i686-w64-mingw32-g++' -ar = '/usr/bin/i686-w64-mingw32-ar' -strip = '/usr/bin/i686-w64-mingw32-strip' -pkgconfig = '/usr/bin/i686-w64-mingw32-pkg-config' +c = 'i686-w64-mingw32-gcc' +cpp = 'i686-w64-mingw32-g++' +ar = 'i686-w64-mingw32-ar' +strip = 'i686-w64-mingw32-strip' +pkgconfig = 'i686-w64-mingw32-pkg-config' [host_machine] system = 'windows' diff --git a/cross_win64.txt b/cross_win64.txt index de3836d5..6a39c391 100644 --- a/cross_win64.txt +++ b/cross_win64.txt @@ -2,11 +2,11 @@ [binaries] name = 'mingw' -c = '/usr/bin/x86_64-w64-mingw32-gcc' -cpp = '/usr/bin/x86_64-w64-mingw32-g++' -ar = '/usr/bin/x86_64-w64-mingw32-ar' -strip = '/usr/bin/x86_64-w64-mingw32-strip' -pkgconfig = '/usr/bin/x86_64-w64-mingw32-pkg-config' +c = 'x86_64-w64-mingw32-gcc' +cpp = 'x86_64-w64-mingw32-g++' +ar = 'x86_64-w64-mingw32-ar' +strip = 'x86_64-w64-mingw32-strip' +pkgconfig = 'x86_64-w64-mingw32-pkg-config' [host_machine] system = 'windows'