Skip to content

Commit 4820fe2

Browse files
committed
Changes for mac and node-20
1 parent e3238ba commit 4820fe2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

binding.gyp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
'conditions': [
2222
['OS=="mac"', {
2323
'xcode_settings': {
24-
'MACOSX_DEPLOYMENT_TARGET': '10.7',
24+
'MACOSX_DEPLOYMENT_TARGET': '10.15',
2525
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
26-
'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++1y', # -std=gnu++1y
26+
'CLANG_CXX_LANGUAGE_STANDARD': 'c++17', # -std=gnu++1y
2727
'CLANG_CXX_LIBRARY': 'libc++',
2828
}
2929
}],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "An async libmagic binding for node.js for detecting content types by data inspection",
66
"main": "./lib/index",
77
"dependencies": {
8-
"nan": "^2.13.2"
8+
"nan": "^2.17.0"
99
},
1010
"scripts": {
1111
"install": "node-gyp rebuild",

0 commit comments

Comments
 (0)