Skip to content

Commit

Permalink
Node JS 23 and MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthernMan54 committed Nov 11, 2024
1 parent d7ceabb commit db1c2c8
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@
},
'target_defaults': {
'conditions': [
[
"OS==\"mac\"",
{
"xcode_settings": {
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
"MACOSX_DEPLOYMENT_TARGET": "10.7",
"OTHER_CPLUSPLUSFLAGS": [
"-std=c++20",
"-stdlib=libc++"
],
"OTHER_LDFLAGS": [
"-stdlib=libc++"
]
}
}
],
['OS=="win"', {
'msvs_configuration_attributes': {
'SpectreMitigation': 'Spectre'
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"cross-env": "^7.0.3",
"mocha": "^10.4.0",
"node-abi": "^3.71.0",
"node-gyp": "^10.1.0",
"node-gyp": "^10.2.0",
"prebuild": "^13.0.1",
"prebuildify": "^6.0.1",
"ps-list": "=7.2.0",
Expand Down

0 comments on commit db1c2c8

Please sign in to comment.