Skip to content

Commit d1789f0

Browse files
Biswa96rom1v
authored andcommitted
meson: Do not use full path with mingw tools name
This helps to use mingw toolchains which are not in /usr/bin path. PR Genymobile#2185 <Genymobile#2185> Signed-off-by: Romain Vimont <[email protected]>
1 parent eb7e107 commit d1789f0

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

cross_win32.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
[binaries]
44
name = 'mingw'
5-
c = '/usr/bin/i686-w64-mingw32-gcc'
6-
cpp = '/usr/bin/i686-w64-mingw32-g++'
7-
ar = '/usr/bin/i686-w64-mingw32-ar'
8-
strip = '/usr/bin/i686-w64-mingw32-strip'
9-
pkgconfig = '/usr/bin/i686-w64-mingw32-pkg-config'
5+
c = 'i686-w64-mingw32-gcc'
6+
cpp = 'i686-w64-mingw32-g++'
7+
ar = 'i686-w64-mingw32-ar'
8+
strip = 'i686-w64-mingw32-strip'
9+
pkgconfig = 'i686-w64-mingw32-pkg-config'
1010

1111
[host_machine]
1212
system = 'windows'

cross_win64.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
[binaries]
44
name = 'mingw'
5-
c = '/usr/bin/x86_64-w64-mingw32-gcc'
6-
cpp = '/usr/bin/x86_64-w64-mingw32-g++'
7-
ar = '/usr/bin/x86_64-w64-mingw32-ar'
8-
strip = '/usr/bin/x86_64-w64-mingw32-strip'
9-
pkgconfig = '/usr/bin/x86_64-w64-mingw32-pkg-config'
5+
c = 'x86_64-w64-mingw32-gcc'
6+
cpp = 'x86_64-w64-mingw32-g++'
7+
ar = 'x86_64-w64-mingw32-ar'
8+
strip = 'x86_64-w64-mingw32-strip'
9+
pkgconfig = 'x86_64-w64-mingw32-pkg-config'
1010

1111
[host_machine]
1212
system = 'windows'

0 commit comments

Comments
 (0)