aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/install-rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/install-rule.cxx')
-rw-r--r--build2/cc/install-rule.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/build2/cc/install-rule.cxx b/build2/cc/install-rule.cxx
index f8058d7..a3a8253 100644
--- a/build2/cc/install-rule.cxx
+++ b/build2/cc/install-rule.cxx
@@ -216,6 +216,7 @@ namespace build2
};
const path& lk (lp.link);
+ const path& ld (lp.load);
const path& so (lp.soname);
const path& in (lp.interm);
@@ -223,6 +224,7 @@ namespace build2
if (!in.empty ()) {r = ln (*f, in) || r; f = ∈}
if (!so.empty ()) {r = ln (*f, so) || r; f = &so;}
+ if (!ld.empty ()) {r = ln (*f, ld) || r; f = &ld;}
if (!lk.empty ()) {r = ln (*f, lk) || r; }
}
@@ -247,10 +249,12 @@ namespace build2
};
const path& lk (lp.link);
+ const path& ld (lp.load);
const path& so (lp.soname);
const path& in (lp.interm);
if (!lk.empty ()) r = rm (lk) || r;
+ if (!ld.empty ()) r = rm (ld) || r;
if (!so.empty ()) r = rm (so) || r;
if (!in.empty ()) r = rm (in) || r;
}