From f0402b95b1104f85eea6c2553741765e241e5e26 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 14 Aug 2019 13:15:06 +0200 Subject: Enable libs_paths symlinking logic on Windows This should currently be noop since all the paths are set to empty. --- build2/cc/install-rule.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'build2/cc/install-rule.cxx') diff --git a/build2/cc/install-rule.cxx b/build2/cc/install-rule.cxx index ce2424c..f8058d7 100644 --- a/build2/cc/install-rule.cxx +++ b/build2/cc/install-rule.cxx @@ -180,8 +180,7 @@ namespace build2 static_assert (sizeof (link_rule::libs_paths) <= target::data_size, "insufficient space"); - file* f; - if ((f = t.is_a ()) != nullptr && tclass != "windows") + if (file* f = t.is_a ()) { if (!f->path ().empty ()) // Not binless. { @@ -203,7 +202,7 @@ namespace build2 { bool r (false); - if (t.is_a () && tclass != "windows") + if (t.is_a ()) { // Here we may have a bunch of symlinks that we need to install. // @@ -235,7 +234,7 @@ namespace build2 { bool r (false); - if (t.is_a () && tclass != "windows") + if (t.is_a ()) { // Here we may have a bunch of symlinks that we need to uninstall. // -- cgit v1.1