From c0057da133d212dd4e0efeab84e2a34f814c5c83 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sat, 2 Jul 2016 00:00:03 +0300 Subject: Can get arbitrary data from cross file properties. --- mesonbuild/environment.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mesonbuild/environment.py') diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index e1e4613..3868301 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -771,6 +771,9 @@ class CrossBuildInfo(): def get_stdlib(self, language): return self.config['properties'][language + '_stdlib'] + def get_properties(self): + return self.config['properties'] + # Wehn compiling a cross compiler we use the native compiler for everything. # But not when cross compiling a cross compiler. def need_cross_compiler(self): -- cgit v1.1