Permalink
Browse files

build: fix freebsd gyp build

  • Loading branch information...
1 parent 52037d8 commit decd81838abb265a81b71b379931199c1d5e2c77 @bnoordhuis bnoordhuis committed Aug 17, 2011
Showing with 8 additions and 1 deletion.
  1. +8 −1 node.gyp
View
@@ -192,7 +192,14 @@
'-ldl',
'-lutil' # needed for openpty
],
- }]
+ }],
+ [ 'OS=="freebsd"', {
+ 'sources': [ 'src/platform_freebsd.cc' ],
+ 'libraries': [
+ '-lutil',
+ '-lkvm',
+ ],
+ }],
],
'msvs-settings': {
'VCLinkerTool': {

0 comments on commit decd818

Please sign in to comment.