summaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'build.py')
-rwxr-xr-xbuild.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.py b/build.py
index 1ece6ceef5..27332cf934 100755
--- a/build.py
+++ b/build.py
@@ -288,7 +288,8 @@ class HostBuild():
self._gn_default_output(),
]
- print('DEBUG: PKG_CONFIG_PATH is', self.env['PKG_CONFIG_PATH'])
+ if 'PKG_CONFIG_PATH' in self.env:
+ print('DEBUG: PKG_CONFIG_PATH is', self.env['PKG_CONFIG_PATH'])
self.run_command('configure', gn_args)