Commit 3443da21 authored by Pieter Hintjens's avatar Pieter Hintjens

Problem: node-gyp defaults to -fno-rtti, which breaks libzmq

Solution: override in project.gyp, for Linux and OS/X.
parent c78e4f33
......@@ -37,12 +37,18 @@
[ 'OS=="mac"', {
'defines': [
'ZMQ_HAVE_OSX'
]
],
'xcode_settings': {
'GCC_ENABLE_CPP_RTTI': 'YES'
}
}],
[ 'OS=="linux"', {
'defines': [
'ZMQ_HAVE_LINUX'
],
'cflags_cc!': [
'-fno-rtti'
],
'libraries': [
'-lpthread'
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment