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:
authorBen Noordhuis <info@bnoordhuis.nl>2011-08-17 09:44:53 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2011-08-17 09:50:59 +0400
commitdecd81838abb265a81b71b379931199c1d5e2c77 (patch)
treec257e051a9ba1a6d9bd471f739d0489a9cf9bffd /node.gyp
parent52037d897d06fdb764e2fefc07352011b6a3f3d3 (diff)
build: fix freebsd gyp build
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp9
1 files changed, 8 insertions, 1 deletions
diff --git a/node.gyp b/node.gyp
index ae13115dd34..90e760771ad 100644
--- a/node.gyp
+++ b/node.gyp
@@ -192,7 +192,14 @@
'-ldl',
'-lutil' # needed for openpty
],
- }]
+ }],
+ [ 'OS=="freebsd"', {
+ 'sources': [ 'src/platform_freebsd.cc' ],
+ 'libraries': [
+ '-lutil',
+ '-lkvm',
+ ],
+ }],
],
'msvs-settings': {
'VCLinkerTool': {