mirror of https://github.com/nodejs/node.git
v8: link against libsocket and libnsl on sunos
The V8 debugger requires BSD socket support. Solaris-like systems obviously support that but you need to link against the right libraries, it's not part of libc.pull/23362/head
parent
90587b1ccb
commit
0f33768059
|
@ -696,6 +696,10 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
['OS=="solaris"', {
|
['OS=="solaris"', {
|
||||||
|
'link_settings': {
|
||||||
|
'libraries': [
|
||||||
|
'-lsocket -lnsl',
|
||||||
|
]},
|
||||||
'sources': [
|
'sources': [
|
||||||
'../../src/platform-solaris.cc',
|
'../../src/platform-solaris.cc',
|
||||||
'../../src/platform-posix.cc',
|
'../../src/platform-posix.cc',
|
||||||
|
|
Loading…
Reference in New Issue