Skip to content

Commit

Permalink
install doesnt work on osx atm - adding conditions suggested by this …
Browse files Browse the repository at this point in the history
…blog post: nodejs/node-gyp#26
  • Loading branch information
simonmcmanus committed Apr 16, 2015
1 parent 4593ab4 commit 85b0143
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
'include_dirs': ['/usr/local/include', "./"],
'cflags_cc!': ['-fno-rtti', '-fno-exceptions'],
'cflags_cc+': ['-frtti', '-fexceptions'],
'conditions': [
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_RTTI': 'YES'
}
}]
],
'link_settings': {
'ldflags': ['-L/usr/local/lib'],
'libraries': ['/usr/local/lib/libavrocpp.so']
Expand Down

0 comments on commit 85b0143

Please sign in to comment.