summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 031e1eda..7959b538 100644
--- a/meson.build
+++ b/meson.build
@@ -109,7 +109,7 @@ if cc.get_id() == 'clang'
# Use libc++ by default if available instead of libstdc++ when compiling
# with clang.
- if cc.find_library('libc++', required : false).found()
+ if cc.find_library('c++', required : false).found()
cpp_arguments += [
'-stdlib=libc++',
]