summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/pkgconfig.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildtools/wafsamba/pkgconfig.py b/buildtools/wafsamba/pkgconfig.py
index 51d559416d..1a41c80e30 100644
--- a/buildtools/wafsamba/pkgconfig.py
+++ b/buildtools/wafsamba/pkgconfig.py
@@ -53,6 +53,9 @@ def PKG_CONFIG_FILES(bld, pc_files, vnum=None):
rule=subst_at_vars,
source=f+'.in',
target=f)
+ t.vars = []
+ for v in [ 'PREFIX', 'EXEC_PREFIX' ]:
+ t.vars.append(t.env[v])
if vnum:
t.env.PACKAGE_VERSION = vnum
bld.INSTALL_FILES(dest, f, flat=True, destname=base)