mirror of https://gitlab.com/ita1024/waf.git
Issue 1173 - resolve symlinks to the build directory
This commit is contained in:
parent
7f2cc4ef42
commit
74b5ffc153
|
@ -174,6 +174,9 @@ class ConfigurationContext(Context.Context):
|
|||
if not out:
|
||||
out = Options.lockfile.replace('.lock-waf_%s_' % sys.platform, '').replace('.lock-waf', '')
|
||||
|
||||
# someone can be messing with symlinks
|
||||
out = os.path.realpath(out)
|
||||
|
||||
self.bldnode = (os.path.isabs(out) and self.root or self.path).make_node(out)
|
||||
self.bldnode.mkdir()
|
||||
|
||||
|
|
Loading…
Reference in New Issue