diff options
author | Evan Miller <emmiller@gmail.com> | 2021-09-02 08:58:04 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-09-04 01:29:35 +0300 |
commit | b8cfb3d131644447246489fb0688eb594fc901d8 (patch) | |
tree | b3b7b1dd1ba355a6b699f9dc91685b3d2de3682c | |
parent | 5166a47acb7e7b433f8d86dee7d4dbb86210e42b (diff) | |
download | meson-b8cfb3d131644447246489fb0688eb594fc901d8.zip meson-b8cfb3d131644447246489fb0688eb594fc901d8.tar.gz meson-b8cfb3d131644447246489fb0688eb594fc901d8.tar.bz2 |
Support for appleframeworks with GCC and Intel
Fixes #8792
Fixes #8733
-rw-r--r-- | mesonbuild/compilers/mixins/clike.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mesonbuild/compilers/mixins/clike.py b/mesonbuild/compilers/mixins/clike.py index d978f69..49b9567 100644 --- a/mesonbuild/compilers/mixins/clike.py +++ b/mesonbuild/compilers/mixins/clike.py @@ -1177,9 +1177,7 @@ class CLikeCompiler(Compiler): Finds the framework with the specified name, and returns link args for the same or returns None when the framework is not found. ''' - # TODO: maybe this belongs in clang? also, should probably check for macOS? - if self.id != 'clang': - raise mesonlib.MesonException('Cannot find frameworks with non-clang compiler') + # TODO: should probably check for macOS? return self._find_framework_impl(name, env, extra_dirs, allow_system) def get_crt_compile_args(self, crt_val: str, buildtype: str) -> T.List[str]: |