Skip to content

Commit a388f2c

Browse files
committed
Fix mac build
1 parent 0ef0869 commit a388f2c

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,4 @@ dist
105105
.tern-port
106106
.idea
107107
.vscode/
108+
.DS_Store

binding.gyp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@
2828
],
2929
"include_dirs" : [
3030
"<!(node -e \"require('nan')\")"
31+
],
32+
'cflags!': [ '-fno-exceptions' ],
33+
'cflags_cc!': [ '-fno-exceptions' ],
34+
'conditions': [
35+
['OS=="mac"', {
36+
'xcode_settings': {
37+
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
38+
}
39+
}]
3140
]
3241
}
3342
]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-hdiffpatch",
3-
"version": "0.1.5",
3+
"version": "1.0.0",
44
"description": "hdiffpatch port to node.js",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)