summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ybd/cache.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ybd/cache.py b/ybd/cache.py
index 473303c..b4f5e27 100644
--- a/ybd/cache.py
+++ b/ybd/cache.py
@@ -152,6 +152,9 @@ def hash_factors(dn):
if build_depends:
hash_factors['build-depends'] = build_depends
+ if dn.get('prefix'):
+ hash_factors['prefix'] = dn['prefix']
+
return hash_factors