diff options
-rwxr-xr-x | environment.py | 2 | ||||
-rwxr-xr-x | meson_test.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/environment.py b/environment.py index 6169475..b757ba4 100755 --- a/environment.py +++ b/environment.py @@ -291,6 +291,8 @@ class Environment(): if (out.startswith('cc ') or out.startswith('gcc')) and \ 'Free Software Foundation' in out: return GnuCCompiler(exelist) + if 'apple' in out and 'Free Software Foundation' in out: + return GnuCCompiler(exelist) if (out.startswith('clang')): return ClangCCompiler(exelist) raise EnvironmentException('Unknown compiler "' + ' '.join(exelist) + '"') diff --git a/meson_test.py b/meson_test.py index 98927e4..c33563e 100755 --- a/meson_test.py +++ b/meson_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 -tt +#!/usr/bin/env python3 -tt # Copyright 2013 Jussi Pakkanen |