mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-12-24 18:25:03 +01:00
Do not strip / from conf.check(x=, uselib_store=Y) stored arguments
This commit is contained in:
parent
06cb261cd2
commit
e8cf059004
@ -691,13 +691,9 @@ def post_check(self, *k, **kw):
|
||||
_vars |= ccroot.USELIB_VARS[x]
|
||||
|
||||
for k in _vars:
|
||||
lk = k.lower()
|
||||
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'], Utils.to_list(val))
|
||||
x = k.lower()
|
||||
if x in kw:
|
||||
self.env.append_unique(k + '_' + kw['uselib_store'], kw[x])
|
||||
return is_success
|
||||
|
||||
@conf
|
||||
|
Loading…
Reference in New Issue
Block a user