summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-03 11:30:23 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-03 01:34:04 +0000
commit8c44dfc371b3be2eadfb2f12580f33fde5551370 (patch)
treea03d9365339703d0b26ce5c9efc57c365338aa03 /buildtools
parentdfa20fcd485b4b3a6b2a9d975374419129e647a4 (diff)
downloadsamba-8c44dfc371b3be2eadfb2f12580f33fde5551370.tar.gz
samba-8c44dfc371b3be2eadfb2f12580f33fde5551370.tar.bz2
samba-8c44dfc371b3be2eadfb2f12580f33fde5551370.zip
waf: ensure pkgconfig files depend on the prefix
Diffstat (limited to 'buildtools')
-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)