From 48a82dacbf838b3afa17725ba316fe7f9b63c158 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Kosi=C5=84ski?= Date: Mon, 27 Jan 2014 16:12:02 +0100 Subject: [PATCH] ccroot: allow overriding the prune_flags setting through a taskgen parameter --- waflib/Tools/ccroot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waflib/Tools/ccroot.py b/waflib/Tools/ccroot.py index 2b3eb0b5..7e706cd9 100644 --- a/waflib/Tools/ccroot.py +++ b/waflib/Tools/ccroot.py @@ -428,7 +428,7 @@ def propagate_uselib_vars(self): # remove redundant values, leaving only the last instance of a flag # leaving only the last flag is important for static libraries which depend on each other - if prune_flags: + if getattr(self, 'prune_flags', prune_flags): for v in _vars: uniqued = [] seen = set()