diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-05-17 18:53:12 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-05-17 18:53:12 +0300 |
commit | 852fb28888c737be359209d300475fa5bb249477 (patch) | |
tree | ddba61bb75c5d363ee3e3bc4c1123676ca4ea96a /compilers.py | |
parent | cf0bd77ddd2cd952f17e3485ea1d9e6fc159adb1 (diff) | |
download | meson-852fb28888c737be359209d300475fa5bb249477.zip meson-852fb28888c737be359209d300475fa5bb249477.tar.gz meson-852fb28888c737be359209d300475fa5bb249477.tar.bz2 |
Do not use -o with Vala. Closes #120.
Diffstat (limited to 'compilers.py')
-rw-r--r-- | compilers.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compilers.py b/compilers.py index ebebc8f..575bd62 100644 --- a/compilers.py +++ b/compilers.py @@ -801,14 +801,13 @@ class ValaCompiler(): def sanity_check(self, work_dir): src = 'valatest.vala' - obj = 'valatest.c' source_name = os.path.join(work_dir, src) ofile = open(source_name, 'w') ofile.write('''class SanityCheck : Object { } ''') ofile.close() - pc = subprocess.Popen(self.exelist + ['-C', '-o', obj, src], cwd=work_dir) + pc = subprocess.Popen(self.exelist + ['-C', '-c', src], cwd=work_dir) pc.wait() if pc.returncode != 0: raise EnvironmentException('Vala compiler %s can not compile programs.' % self.name_string()) |