From 4e5b8dc2efb7a5711b0741ff61b9da914b4920fc Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 29 Apr 2013 13:38:57 +0200 Subject: [PATCH] build: link with libkvm on openbsd The Makefile already did and now the gyp build does too. Fixes the OpenBSD build of node.js. Fixes joyent/node#5363. --- uv.gyp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/uv.gyp b/uv.gyp index 9bb5b210..17202d1a 100644 --- a/uv.gyp +++ b/uv.gyp @@ -235,21 +235,16 @@ }], [ 'OS=="freebsd" or OS=="dragonflybsd"', { 'sources': [ 'src/unix/freebsd.c' ], - 'link_settings': { - 'libraries': [ - '-lkvm', - ], - }, }], [ 'OS=="openbsd"', { 'sources': [ 'src/unix/openbsd.c' ], }], [ 'OS=="netbsd"', { 'sources': [ 'src/unix/netbsd.c' ], + }], + [ 'OS in "freebsd dragonflybsd openbsd netbsd".split()', { 'link_settings': { - 'libraries': [ - '-lkvm', - ], + 'libraries': [ '-lkvm' ], }, }], [ 'OS in "mac freebsd dragonflybsd openbsd netbsd".split()', {