aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-07-02 00:00:03 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2016-07-02 00:00:03 +0300
commitc0057da133d212dd4e0efeab84e2a34f814c5c83 (patch)
tree732ea096e57a6e1e5d44da7c649189902bdc9149 /mesonbuild/environment.py
parentcc775d64c9ca73e9a02710a84ac9f0a5fc01c593 (diff)
downloadmeson-c0057da133d212dd4e0efeab84e2a34f814c5c83.zip
meson-c0057da133d212dd4e0efeab84e2a34f814c5c83.tar.gz
meson-c0057da133d212dd4e0efeab84e2a34f814c5c83.tar.bz2
Can get arbitrary data from cross file properties.
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py3
1 files changed, 3 insertions, 0 deletions
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):