diff options
author | Richard Weinberger <richard@nod.at> | 2020-03-18 11:45:49 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-03-19 19:09:18 +0200 |
commit | 12fa8d06e214223157ba281efea4e71dc5d0997e (patch) | |
tree | ae9f370f5e99f6750d5d019f31465ae476a5ca08 /docs/markdown/howtox.md | |
parent | e1060f577270528ca548a47aa3d77016e191d8ad (diff) | |
download | meson-12fa8d06e214223157ba281efea4e71dc5d0997e.zip meson-12fa8d06e214223157ba281efea4e71dc5d0997e.tar.gz meson-12fa8d06e214223157ba281efea4e71dc5d0997e.tar.bz2 |
Fix exe_wrapper usage in EmptyExternalProgram case
If no exe_wrapper is set in the meson cross file the exe_wrapper
object will be an instance of EmptyExternalProgram.
So, found is True and prorgram is an empty list.
This will cause meson to tun the compiler sanity check because
it checks only for self.is_cross and self.exe_wrapper being
not None.
I ran into that situation while cross compiling for ia32 on a
x64_64 host. The host had no ia32 userspace installed, so the
self test failed.
As workaround I currently set exe_wrapper to 'true'.
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'docs/markdown/howtox.md')
0 files changed, 0 insertions, 0 deletions