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

Commit

Permalink
v8: link against libsocket and libnsl on sunos
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bnoordhuis committed Jan 19, 2012
1 parent 90587b1 commit 0f33768
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deps/v8/tools/gyp/v8.gyp
Expand Up @@ -696,6 +696,10 @@
}
],
['OS=="solaris"', {
'link_settings': {
'libraries': [
'-lsocket -lnsl',
]},
'sources': [
'../../src/platform-solaris.cc',
'../../src/platform-posix.cc',
Expand Down

0 comments on commit 0f33768

Please sign in to comment.