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

pull/24503/head
Nathan Rajlich 2012-02-25 18:51:30 -08:00 committed by Ben Noordhuis
parent 2d7b43f466
commit 3c68c85f18
1 changed files with 6 additions and 0 deletions

View File

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