From 0f33768059146250d35148f37de7bd07e35ed851 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 19 Jan 2012 23:05:04 +0000 Subject: [PATCH] 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. --- deps/v8/tools/gyp/v8.gyp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deps/v8/tools/gyp/v8.gyp b/deps/v8/tools/gyp/v8.gyp index 57e2cbdf83c..a65978270f9 100644 --- a/deps/v8/tools/gyp/v8.gyp +++ b/deps/v8/tools/gyp/v8.gyp @@ -696,6 +696,10 @@ } ], ['OS=="solaris"', { + 'link_settings': { + 'libraries': [ + '-lsocket -lnsl', + ]}, 'sources': [ '../../src/platform-solaris.cc', '../../src/platform-posix.cc',