2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-12-24 02:05:12 +01:00

This one is definitely a bug

This commit is contained in:
Thomas Nagy 2011-09-12 00:29:09 +02:00
parent 1f8c9269d1
commit b8cab53e60

View File

@ -260,7 +260,7 @@ def check_boost(self, *k, **kw):
if not params['lib']:
return
self.start_msg('Checking boost libs')
suffix = params.get('static', 'ST') or ''
suffix = params.get('static', None) and 'ST' or ''
path, libs = self.boost_get_libs(**params)
self.env['%sLIBPATH_%s' % (suffix, var)] = [path]
self.env['%sLIB_%s' % (suffix, var)] = libs