diff options
author | Mike Sinkovsky <msink@permonline.ru> | 2016-12-27 14:54:51 +0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-01-02 11:08:30 -0500 |
commit | 2d2e3b943c6abda1880b4e59fc50e773725be18b (patch) | |
tree | 4c200bd2af3524a98ec30dda476ae7b19ce66c4e /mesonbuild/environment.py | |
parent | f0bc5568a74d555b332671d0f7f0d950688e2d61 (diff) | |
download | meson-2d2e3b943c6abda1880b4e59fc50e773725be18b.zip meson-2d2e3b943c6abda1880b4e59fc50e773725be18b.tar.gz meson-2d2e3b943c6abda1880b4e59fc50e773725be18b.tar.bz2 |
fix for cross-builds targeting macosx
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r-- | mesonbuild/environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index b6f12fa..2e5387d 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -386,7 +386,7 @@ class Environment(): version = self.get_gnu_version_from_defines(defines) return GnuCCompiler(ccache + [compiler], version, gtype, is_cross, exe_wrap, defines) if 'clang' in out: - if 'Apple' in out: + if 'Apple' in out or for_darwin(want_cross, self): cltype = CLANG_OSX else: cltype = CLANG_STANDARD |