Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
build: use -pthreads (not -pthread) on Solaris
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate authored and bnoordhuis committed Feb 27, 2012
1 parent 2d7b43f commit 3c68c85
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions common.gypi
Expand Up @@ -139,6 +139,12 @@
'cflags': [ '-ansi' ],
'ldflags': [ '-rdynamic' ],
}],
[ 'OS=="solaris"', {
'cflags': [ '-pthreads' ],
'ldflags': [ '-pthreads' ],
'cflags!': [ '-pthread' ],
'ldflags!': [ '-pthread' ],
}],
],
}],
['OS=="mac"', {
Expand Down

0 comments on commit 3c68c85

Please sign in to comment.