compilers: Fix C++ stdlib flags used for Apple's Clang

Should target libc++, not libstdc++.
pull/6868/head
Ole André Vadla Ravnås 5 years ago committed by Jussi Pakkanen
parent 6952f9f6c9
commit d8094d26f3
  1. 4
      mesonbuild/compilers/cpp.py

@ -204,8 +204,8 @@ class ClangCPPCompiler(ClangCompiler, CPPCompiler):
class AppleClangCPPCompiler(ClangCPPCompiler):
pass
def language_stdlib_only_link_flags(self):
return ['-lc++']
class EmscriptenCPPCompiler(EmscriptenMixin, LinkerEnvVarsMixin, ClangCPPCompiler):

Loading…
Cancel
Save