From 25e08839a7f45ce633711e1aed99fce427bfbd96 Mon Sep 17 00:00:00 2001 From: nbrideau Date: Wed, 28 Apr 2021 09:16:15 -0300 Subject: [PATCH] Enable exceptions to fix compilation error on mac. --- binding.gyp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/binding.gyp b/binding.gyp index 4d76dab..8b071cd 100644 --- a/binding.gyp +++ b/binding.gyp @@ -15,7 +15,8 @@ 'xcode_settings': { 'OTHER_CFLAGS': [ "-std=c++11" - ] + ], + 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES' }, "cflags!": ["-fno-exceptions"], "cflags_cc!": ["-fno-exceptions"],