mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
build: use -pthreads (not -pthread) on Solaris
This commit is contained in:
committed by
Ben Noordhuis
parent
2d7b43f466
commit
3c68c85f18
@@ -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"', {
|
||||||
|
|||||||
Reference in New Issue
Block a user