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
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-08-16 04:54:47 +0400
committerRyan Dahl <ry@tinyclouds.org>2011-08-16 05:17:02 +0400
commitb433c42a566259525487e60b128e34b32c3eecc5 (patch)
treeefaed53bb7ce058f8871df7d7e36c27f4ce57701 /node.gyp
parent584ae7b08477fba93be4b77cb1e1511f40c95fdf (diff)
gyp: Support Linux
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp6
1 files changed, 6 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index bd67d670d8f..f6894d2a589 100644
--- a/node.gyp
+++ b/node.gyp
@@ -108,6 +108,12 @@
[ 'OS=="mac"', {
'sources': [ 'src/platform_darwin.cc' ],
'libraries': [ '-framework Carbon' ],
+ }],
+ [ 'OS=="linux"', {
+ 'sources': [ 'src/platform_linux.cc' ],
+ 'libraries': [
+ '-lutil' # needed for openpty
+ ],
}]
],
'msvs-settings': {