diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-09-29 18:56:37 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-09-29 18:56:37 +0300 |
commit | 3f921ea6a54c790f42f28f536fd3636e38d1dcea (patch) | |
tree | 174094e98f3863f1fdbd3f1b47f6d2e19da2ba23 | |
parent | 18c92dc1c591b3a745b979a14030df199124fbb3 (diff) | |
download | meson-3f921ea6a54c790f42f28f536fd3636e38d1dcea.zip meson-3f921ea6a54c790f42f28f536fd3636e38d1dcea.tar.gz meson-3f921ea6a54c790f42f28f536fd3636e38d1dcea.tar.bz2 |
Fix cross compilation.
-rw-r--r-- | interpreter.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/interpreter.py b/interpreter.py index 688b49b..c99178f 100644 --- a/interpreter.py +++ b/interpreter.py @@ -318,6 +318,9 @@ class Man(InterpreterObject): class BuildTargetHolder(InterpreterObject): def __init__(self, targetttype, name, subdir, is_cross, sources, environment, kwargs): self.target = targetttype(name, subdir, is_cross, sources, environment, kwargs) + + def is_cross(self): + return self.target.is_cross() class ExecutableHolder(BuildTargetHolder): def __init__(self, name, subdir, is_cross, sources, environment, kwargs): |