mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-29 05:21:23 +01:00
empty --prefix
This commit is contained in:
parent
9c7c864fcc
commit
0d6cd93f95
@ -254,7 +254,10 @@ class ConfigurationContext(Context.Context):
|
||||
:param env: a ConfigSet, usually ``conf.env``
|
||||
"""
|
||||
if not env.PREFIX:
|
||||
env.PREFIX = os.path.abspath(os.path.expanduser(Options.options.prefix))
|
||||
if Options.options.prefix or Utils.is_win32:
|
||||
env.PREFIX = os.path.abspath(os.path.expanduser(Options.options.prefix))
|
||||
else:
|
||||
env.PREFIX = ''
|
||||
if not env.BINDIR:
|
||||
env.BINDIR = Utils.subst_vars('${PREFIX}/bin', env)
|
||||
if not env.LIBDIR:
|
||||
|
Loading…
Reference in New Issue
Block a user