aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/install-rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-08-14 13:15:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-08-14 13:35:38 +0200
commitf0402b95b1104f85eea6c2553741765e241e5e26 (patch)
tree2b3e562046bed6677647d7257758c0888010cc9d /build2/cc/install-rule.cxx
parentba357a5452cb4f91eecdc09b171d99acff39cb32 (diff)
Enable libs_paths symlinking logic on Windows
This should currently be noop since all the paths are set to empty.
Diffstat (limited to 'build2/cc/install-rule.cxx')
-rw-r--r--build2/cc/install-rule.cxx7
1 files changed, 3 insertions, 4 deletions
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<libs> ()) != nullptr && tclass != "windows")
+ if (file* f = t.is_a<libs> ())
{
if (!f->path ().empty ()) // Not binless.
{
@@ -203,7 +202,7 @@ namespace build2
{
bool r (false);
- if (t.is_a<libs> () && tclass != "windows")
+ if (t.is_a<libs> ())
{
// 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<libs> () && tclass != "windows")
+ if (t.is_a<libs> ())
{
// Here we may have a bunch of symlinks that we need to uninstall.
//