Skip to content

Commit

Permalink
Try fix macOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyriar committed Mar 30, 2017
1 parent c92a5ea commit 752aba7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@
'-lutil'
]
}],
['OS=="mac"', {
"xcode_settings": {
"OTHER_CPLUSPLUSFLAGS": [
"-std=c++11",
"-stdlib=libc++"
],
"OTHER_LDFLAGS": [
"-stdlib=libc++"
],
"MACOSX_DEPLOYMENT_TARGET":"10.7"
}
}]
]
}]
}

0 comments on commit 752aba7

Please sign in to comment.