From b771f91d6095396d5bf05c639f6a70bc61f77e8a Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Mon, 6 Jul 2015 16:44:35 -0700 Subject: Only use pkg-config if grpc is installed --- src/node/binding.gyp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/node') diff --git a/src/node/binding.gyp b/src/node/binding.gyp index 5b8c994aa1..b4debbda9a 100644 --- a/src/node/binding.gyp +++ b/src/node/binding.gyp @@ -19,10 +19,10 @@ "conditions": [ ['OS != "win"', { 'variables': { - 'has_pkg_config': '/dev/null 2>&1 && echo true || echo false)' + 'pkg_config_grpc': '/dev/null 2>&1 && echo true || echo false)' }, 'conditions': [ - ['has_pkg_config == "true"', { + ['pkg_config_grpc == "true"', { 'link_settings': { 'libraries': [ '