aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cs.py
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2018-12-19 01:22:39 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2019-02-01 13:22:01 -0500
commit6dbe33d949237411b1291c30f5383885befb3554 (patch)
treedc5f4df2ad405db0e23941121d72f690f4369fe0 /mesonbuild/compilers/cs.py
parentda7b9df16c696979b0f3860cbde1692e2ba5e0cc (diff)
downloadmeson-6dbe33d949237411b1291c30f5383885befb3554.zip
meson-6dbe33d949237411b1291c30f5383885befb3554.tar.gz
meson-6dbe33d949237411b1291c30f5383885befb3554.tar.bz2
C# and Java compilers should have `is_cross = False`
All compilers should define this attribute. Probably should change base class to require this.
Diffstat (limited to 'mesonbuild/compilers/cs.py')
-rw-r--r--mesonbuild/compilers/cs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/compilers/cs.py b/mesonbuild/compilers/cs.py
index cbfcd9c..cd67da0 100644
--- a/mesonbuild/compilers/cs.py
+++ b/mesonbuild/compilers/cs.py
@@ -32,6 +32,7 @@ class CsCompiler(Compiler):
self.language = 'cs'
super().__init__(exelist, version)
self.id = id
+ self.is_cross = False
self.runner = runner
def get_display_language(self):