From 8c44dfc371b3be2eadfb2f12580f33fde5551370 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 3 Nov 2010 11:30:23 +1100 Subject: waf: ensure pkgconfig files depend on the prefix --- buildtools/wafsamba/pkgconfig.py | 3 +++ 1 file changed, 3 insertions(+) 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) -- cgit