Skip to content

Commit

Permalink
update mac gyp binding to match setup guide recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremywho authored and rzr committed Feb 6, 2024
1 parent 4b86423 commit c9220a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/mac/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
'dependencies': ["<!(node -p \"require('node-addon-api').gyp\")"],
'cflags!': [ '-fno-exceptions' ],
'cflags_cc!': [ '-fno-exceptions' ],
'cflags+': ['-fvisibility=hidden'],
'xcode_settings': {
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
'CLANG_CXX_LIBRARY': 'libc++',
'MACOSX_DEPLOYMENT_TARGET': '10.7',
Expand Down

0 comments on commit c9220a0

Please sign in to comment.