From 333f77ad3dcc0f33a7ff74fe7bca4d8da1713be2 Mon Sep 17 00:00:00 2001 From: "Nguyen, Giang (G. Yakiro)" Date: Sat, 7 Sep 2019 17:09:53 -0400 Subject: [PATCH] fix objc freestanding sanitycheck --- mesonbuild/compilers/objc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/compilers/objc.py b/mesonbuild/compilers/objc.py index 7a778d7b3..1004a7239 100644 --- a/mesonbuild/compilers/objc.py +++ b/mesonbuild/compilers/objc.py @@ -41,7 +41,7 @@ class ObjCCompiler(CLikeCompiler, Compiler): else: extra_flags += environment.coredata.get_external_link_args(self.for_machine, self.language) with open(source_name, 'w') as ofile: - ofile.write('#import\n' + ofile.write('#import\n' 'int main() { return 0; }\n') pc = subprocess.Popen(self.exelist + extra_flags + [source_name, '-o', binary_name]) pc.wait()