From 02e9f7335d6140adc6bf47e9e9985efe3a9c1e01 Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Mon, 6 Jul 2015 16:44:35 -0700 Subject: [PATCH] Only use pkg-config if grpc is installed --- binding.gyp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binding.gyp b/binding.gyp index 5b8c994a..b4debbda 100644 --- a/binding.gyp +++ b/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': [ '