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

This commit is contained in:
Nathan Rajlich
2012-02-25 18:51:30 -08:00
committed by Ben Noordhuis
parent 2d7b43f466
commit 3c68c85f18

View File

@@ -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"', {