summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-02-16 10:18:12 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-02-16 00:24:12 +0100
commitdce69c29e7a6c6e5f818bed21cb251b1a5f60556 (patch)
tree26a8467f538994827596442d2690f0b57011aedf /buildtools/wafsamba
parente34ba447ec8a54db744f0103d91ec05f7cfd60ce (diff)
downloadsamba-dce69c29e7a6c6e5f818bed21cb251b1a5f60556.tar.gz
samba-dce69c29e7a6c6e5f818bed21cb251b1a5f60556.tar.bz2
samba-dce69c29e7a6c6e5f818bed21cb251b1a5f60556.zip
waf Fix dependencies for .pc (pkg-config) files
We used the wrong parameter for the dependency calculation. thanks to Thomas Nagy for the fix! Andrew Bartlett
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/wafsamba.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 0949949923..be8cad31ad 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -523,7 +523,7 @@ def SAMBA_GENERATOR(bld, name, rule, source='', target='',
before='cc',
ext_out='.c',
samba_type='GENERATOR',
- vars = [rule],
+ dep_vars = [rule] + (vars or []),
name=name)
if always: