Issue 1320, do not propagate external libraries uselib vars

This commit is contained in:
Thomas Nagy 2013-05-26 09:58:11 +02:00
parent e20207811f
commit e5cd63a670
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
NEW IN WAF 1.8.0
----------------
* Do not propagate external static libraries uselib vars #1320
*
NEW IN WAF 1.7.11
-----------------
* Node.delete remove empty folders #1278

View File

@ -248,7 +248,9 @@ def use_rec(self, name, **kw):
p = self.tmp_use_prec
for x in self.to_list(getattr(y, 'use', [])):
try:
if self.env["STLIB_" + x]:
continue
try:
p[x].append(name)
except KeyError:
p[x] = [name]