Browse Source

build: use -pthreads (not -pthread) on Solaris

v0.9.1-release
Nathan Rajlich 13 years ago
committed by Ben Noordhuis
parent
commit
3c68c85f18
  1. 6
      common.gypi

6
common.gypi

@ -139,6 +139,12 @@
'cflags': [ '-ansi' ], 'cflags': [ '-ansi' ],
'ldflags': [ '-rdynamic' ], 'ldflags': [ '-rdynamic' ],
}], }],
[ 'OS=="solaris"', {
'cflags': [ '-pthreads' ],
'ldflags': [ '-pthreads' ],
'cflags!': [ '-pthread' ],
'ldflags!': [ '-pthread' ],
}],
], ],
}], }],
['OS=="mac"', { ['OS=="mac"', {

Loading…
Cancel
Save