waf Fix dependencies for .pc (pkg-config) files
authorAndrew Bartlett <abartlet@samba.org>
Tue, 15 Feb 2011 23:18:12 +0000 (10:18 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 15 Feb 2011 23:24:12 +0000 (00:24 +0100)
We used the wrong parameter for the dependency calculation.

thanks to Thomas Nagy for the fix!

Andrew Bartlett

buildtools/wafsamba/wafsamba.py

index 09499499233f17c9d89fddc3692393628cf329a0..be8cad31adc64250bbe24439adf83954b8fa4ec1 100644 (file)
@@ -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: