Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-01-20 03:05:04 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-01-20 03:09:00 +0400
commit0f33768059146250d35148f37de7bd07e35ed851 (patch)
treed2e5d5f04e7f530f29bf84bfd8011e0c8eb513ab /deps
parent90587b1ccbb740e603c5cc5f3222a3c25247fc07 (diff)
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.
Diffstat (limited to 'deps')
-rw-r--r--deps/v8/tools/gyp/v8.gyp4
1 files changed, 4 insertions, 0 deletions
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',