From dd20f8b8fd0dd295a5c04aaee1458c037f38c588 Mon Sep 17 00:00:00 2001 From: Ruben Taelman Date: Wed, 28 Aug 2024 13:20:48 +0200 Subject: [PATCH] Fix node-gyp building on MacOS --- binding.gyp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/binding.gyp b/binding.gyp index 3003f32..eb8ce9b 100644 --- a/binding.gyp +++ b/binding.gyp @@ -44,6 +44,9 @@ "xcode_settings": { "GCC_ENABLE_CPP_RTTI": "YES", "GCC_ENABLE_CPP_EXCEPTIONS": "YES", + "CLANG_CXX_LIBRARY": "libc++", + "CLANG_CXX_LANGUAGE_STANDARD": "c++14", + "GCC_VERSION": "com.apple.compilers.llvm.clang.1_0" "OTHER_CFLAGS": [ "-stdlib=libc++", "-Wno-register"