Meson: Get results from cross file properties if cannot run codeb0ae762a33d182c814bbb4aa2d9f1c1babc0fae1
commitb0ae762a33d182c814bbb4aa2d9f1c1babc0fae1
authorXavier Claessens <xavier.claessens@collabora.com>
Tue, 3 Apr 2018 03:01:25 +0000 (2 23:01 -0400)
committerXavier Claessens <xavier.claessens@collabora.com>
Wed, 18 Apr 2018 23:38:09 +0000 (18 19:38 -0400)
tree64809f5290317c756ee7dd9a8d9744da426d5f99
parent3f741e087fdea3bcfb4dc4ed4bb8a0feee30d28e
Meson: Get results from cross file properties if cannot run code

When cross compiling and not exe wrapper has been defined cc.run() raise
an exception. Avoid this by taking the value from [properties] in the
cross file and provide sensible default if the variable is not defined.

https://bugzilla.gnome.org/show_bug.cgi?id=794898
meson.build