diff --git a/waflib/Build.py b/waflib/Build.py index 52837618..1e28cd8d 100644 --- a/waflib/Build.py +++ b/waflib/Build.py @@ -1066,7 +1066,7 @@ class inst(Task.Task): else: dest = os.path.normpath(Utils.subst_vars(self.install_to, self.env)) if not os.path.isabs(dest): - dest = os.path.join(self.env.PREFIX, dest) + dest = os.path.join(self.env.PREFIX, dest) if destdir and Options.options.destdir: dest = os.path.join(Options.options.destdir, os.path.splitdrive(dest)[1].lstrip(os.sep)) return dest