[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
'cflags': [ '-Wall', '-pthread', ],
'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ],
- 'ldflags': [ '-pthread', ],
+ 'ldflags': [ '-pthread', '-rdynamic' ],
'conditions': [
[ 'target_arch=="ia32"', {
'cflags': [ '-m32' ],
'cflags': [ '-m64' ],
'ldflags': [ '-m64' ],
}],
- [ 'OS=="linux"', {
- 'ldflags': [ '-rdynamic' ],
- }],
[ 'OS=="solaris"', {
'cflags': [ '-pthreads' ],
'ldflags': [ '-pthreads' ],
'src/node_signal_watcher.cc',
'src/node_io_watcher.cc',
],
- 'ldflags': [ '-Wl,--export-dynamic' ],
}],
[ 'OS=="mac"', {
'libraries': [ '-framework Carbon' ],