build: fix freebsd gyp build

pull/5370/head
Ben Noordhuis 2011-08-17 07:44:53 +02:00
parent 52037d897d
commit decd81838a
1 changed files with 8 additions and 1 deletions

View File

@ -192,7 +192,14 @@
'-ldl',
'-lutil' # needed for openpty
],
}]
}],
[ 'OS=="freebsd"', {
'sources': [ 'src/platform_freebsd.cc' ],
'libraries': [
'-lutil',
'-lkvm',
],
}],
],
'msvs-settings': {
'VCLinkerTool': {