Support for appleframeworks with GCC and Intel

Fixes #8792
Fixes #8733
pull/9222/head
Evan Miller 4 years ago committed by Jussi Pakkanen
parent 5166a47acb
commit b8cfb3d131
  1. 4
      mesonbuild/compilers/mixins/clike.py

@ -1177,9 +1177,7 @@ class CLikeCompiler(Compiler):
Finds the framework with the specified name, and returns link args for Finds the framework with the specified name, and returns link args for
the same or returns None when the framework is not found. the same or returns None when the framework is not found.
''' '''
# TODO: maybe this belongs in clang? also, should probably check for macOS? # TODO: should probably check for macOS?
if self.id != 'clang':
raise mesonlib.MesonException('Cannot find frameworks with non-clang compiler')
return self._find_framework_impl(name, env, extra_dirs, allow_system) 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]: def get_crt_compile_args(self, crt_val: str, buildtype: str) -> T.List[str]:

Loading…
Cancel
Save