From 1cf9e1a1b0c56080d31149727276453fe185f482 Mon Sep 17 00:00:00 2001 From: Shiz Date: Fri, 8 Nov 2019 02:03:55 +0100 Subject: [PATCH] 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). --- cross-mingw-32.txt | 6 +++--- cross-mingw-64.txt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cross-mingw-32.txt b/cross-mingw-32.txt index c2ae6d4..21ed951 100644 --- a/cross-mingw-32.txt +++ b/cross-mingw-32.txt @@ -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' diff --git a/cross-mingw-64.txt b/cross-mingw-64.txt index a385ae9..6b15798 100644 --- a/cross-mingw-64.txt +++ b/cross-mingw-64.txt @@ -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'