Skip to content

Commit

Permalink
meson: Do not use full path with mingw tools name
Browse files Browse the repository at this point in the history
This helps to use mingw toolchains which are not in /usr/bin path.

PR #2185 <#2185>

Signed-off-by: Romain Vimont <[email protected]>
  • Loading branch information
Biswa96 authored and rom1v committed Mar 9, 2021
1 parent eb7e107 commit d1789f0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions cross_win32.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
10 changes: 5 additions & 5 deletions cross_win64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit d1789f0

Please sign in to comment.