This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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.
  • Loading branch information...
bnoordhuis committed Jan 19, 2012
1 parent 90587b1 commit 0f33768059146250d35148f37de7bd07e35ed851
Showing with 4 additions and 0 deletions.
  1. +4 −0 deps/v8/tools/gyp/v8.gyp
View
@@ -696,6 +696,10 @@
}
],
['OS=="solaris"', {
+ 'link_settings': {
+ 'libraries': [
+ '-lsocket -lnsl',
+ ]},
'sources': [
'../../src/platform-solaris.cc',
'../../src/platform-posix.cc',

0 comments on commit 0f33768

Please sign in to comment.