Issue 1390 - conf.check(lib='several libs')

This commit is contained in:
Thomas Nagy 2013-12-21 17:28:50 +01:00
parent d1eef8b272
commit 1b5560cf1c
1 changed files with 1 additions and 3 deletions

View File

@ -602,14 +602,12 @@ def post_check(self, *k, **kw):
for k in _vars:
lk = k.lower()
if k == 'INCLUDES': lk = 'includes'
if k == 'DEFINES': lk = 'defines'
if lk in kw:
val = kw[lk]
# remove trailing slash
if isinstance(val, str):
val = val.rstrip(os.path.sep)
self.env.append_unique(k + '_' + kw['uselib_store'], val)
self.env.append_unique(k + '_' + kw['uselib_store'], Utils.to_list(val))
return is_success
@conf