Skip to content

Commit db1c2c8

Browse files
committed
Node JS 23 and MacOS
BYVoid/OpenCC#916
1 parent d7ceabb commit db1c2c8

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

binding.gyp

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@
44
},
55
'target_defaults': {
66
'conditions': [
7+
[
8+
"OS==\"mac\"",
9+
{
10+
"xcode_settings": {
11+
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
12+
"MACOSX_DEPLOYMENT_TARGET": "10.7",
13+
"OTHER_CPLUSPLUSFLAGS": [
14+
"-std=c++20",
15+
"-stdlib=libc++"
16+
],
17+
"OTHER_LDFLAGS": [
18+
"-stdlib=libc++"
19+
]
20+
}
21+
}
22+
],
723
['OS=="win"', {
824
'msvs_configuration_attributes': {
925
'SpectreMitigation': 'Spectre'

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"cross-env": "^7.0.3",
6363
"mocha": "^10.4.0",
6464
"node-abi": "^3.71.0",
65-
"node-gyp": "^10.1.0",
65+
"node-gyp": "^10.2.0",
6666
"prebuild": "^13.0.1",
6767
"prebuildify": "^6.0.1",
6868
"ps-list": "=7.2.0",

0 commit comments

Comments
 (0)