Skip to content

Commit

Permalink
disable exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
LandryNorris committed Jul 7, 2023
1 parent 9988104 commit 0d2a92b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/rhsplib/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
'defines': [
'NAPI_VERSION=<(napi_build_version)',
'NAPI_CPP_EXCEPTIONS'
'NAPI_DISABLE_CPP_EXCEPTIONS'
],
'dependencies': [
"<!(node -p \"require('node-addon-api').gyp\")"
Expand Down Expand Up @@ -87,6 +87,10 @@
],
[
'OS=="darwin" and target_arch=="x86_64"', {
'cflags+': ['-fvisibility=hidden'],
'xcode_settings': {
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
}
'link_settings': {
'libraries': [
'-L<(module_root_dir)/RHSPlib/build-darwinX64/',
Expand Down

0 comments on commit 0d2a92b

Please sign in to comment.