From 696d2b6572d03c77f7a3f8b7e343a6be111b6a2f Mon Sep 17 00:00:00 2001 From: Evan Bovie Date: Wed, 6 Dec 2017 18:20:45 -0800 Subject: [PATCH] Update binding.gyp to support macOS compilation node-gyp can't find without adding C++11 support on macOS --- binding.gyp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/binding.gyp b/binding.gyp index b41dfd7..ad8b381 100644 --- a/binding.gyp +++ b/binding.gyp @@ -13,6 +13,12 @@ 'defines': [ 'VERSION=0.4.6', ], + 'xcode_settings': { + 'OTHER_CFLAGS': [ + "-std=c++11", + "-stdlib=libc++" + ], + }, 'sources': [ 'src/bindings.cpp', 'src/ivrsystem.cpp',