summaryrefslogtreecommitdiffstats
path: root/source-builder/sb/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'source-builder/sb/config.py')
-rw-r--r--source-builder/sb/config.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/source-builder/sb/config.py b/source-builder/sb/config.py
index 8fb9ac0..732239f 100644
--- a/source-builder/sb/config.py
+++ b/source-builder/sb/config.py
@@ -420,6 +420,10 @@ class file:
return line
def _pkgconfig_check(self, test):
+ # Hack to by pass pkgconfig checks when just wanting to download the
+ # source.
+ if self.macros['_dry_run'] == '1' and self.macros['with_download'] == '1':
+ return '0'
ok = False
if type(test) == str:
test = test.split()