diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-04-06 23:09:30 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-04-11 15:29:44 +0300 |
commit | e6e5566b6f35771ba1c06a3c3b57585c603b7ace (patch) | |
tree | e976e018c0447fa4f6c896ecc7f71d374f906e8e /environment.py | |
parent | 2c3d35802f738d003a983378ae408716a707e8ec (diff) | |
download | meson-e6e5566b6f35771ba1c06a3c3b57585c603b7ace.zip meson-e6e5566b6f35771ba1c06a3c3b57585c603b7ace.tar.gz meson-e6e5566b6f35771ba1c06a3c3b57585c603b7ace.tar.bz2 |
Set languages in objc/ojbc++.
Diffstat (limited to 'environment.py')
-rwxr-xr-x | environment.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/environment.py b/environment.py index 6081208..eaa3f56 100755 --- a/environment.py +++ b/environment.py @@ -127,6 +127,7 @@ class CXXCompiler(CCompiler): class ObjCCompiler(CCompiler): def __init__(self, exelist): CCompiler.__init__(self, exelist) + self.language = 'objc' def can_compile(self, filename): suffix = filename.split('.')[-1] @@ -137,6 +138,7 @@ class ObjCCompiler(CCompiler): class ObjCXXCompiler(CXXCompiler): def __init__(self, exelist): CXXCompiler.__init__(self, exelist) + self.language = 'objcxx' def can_compile(self, filename): suffix = filename.split('.')[-1] |