Do not hardcode binary's name in templates.

This may change from on host platform to another. Use the cross_env.
This commit is contained in:
Matthieu Gautier
2017-02-06 17:33:39 +01:00
parent 2451c35d79
commit b205526bb2
4 changed files with 20 additions and 15 deletions

View File

@ -1,9 +1,9 @@
[binaries]
pkgconfig = 'pkg-config'
c = '{which.i686-w64-mingw32-gcc}'
ar = '{which.i686-w64-mingw32-ar}'
cpp = '{which.i686-w64-mingw32-g++}'
strip = '{which.i686-w64-mingw32-strip}'
c = '{which:{binaries[c]}}'
ar = '{which:{binaries[ar]}}'
cpp = '{which:{binaries[cpp]}}'
strip = '{which:{binaries[strip]}}'
exe_wrapper = 'wine'
[properties]