aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/binding.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/binding.gyp')
-rw-r--r--src/node/binding.gyp4
1 files changed, 2 insertions, 2 deletions
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': '<!(command -v pkg-config >/dev/null 2>&1 && echo true || echo false)'
+ 'pkg_config_grpc': '<!(pkg-config --exists grpc >/dev/null 2>&1 && echo true || echo false)'
},
'conditions': [
- ['has_pkg_config == "true"', {
+ ['pkg_config_grpc == "true"', {
'link_settings': {
'libraries': [
'<!@(pkg-config --libs-only-l --static grpc)'