summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-05-18 22:51:31 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-05-18 22:51:31 (EDT)
commit492cdc182bda1e30b807b21de186da0457b2320c (patch)
tree6d02d8f45beffef5630601e28ef3041cadbc44b6
parent9e13bbc29c3f0bf99497bbef1c62d0302657a66e (diff)
build: Remove moved links
-rwxr-xr-xbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/build b/build
index f4e49b6..0abb4bf 100755
--- a/build
+++ b/build
@@ -208,6 +208,7 @@ install-native:
# libfoo.so.x, not libfoo.x.y.z as libtool generates.
set -e; \
for link in $(destdir)$(libdir)/*.so; do \
+ rm -f $${link}; \
lib=$$(ls $${link}.* | sed 's|^.*/||; q;'); \
link=$$(printf '%s\n' $${link} | sed 's|^.*/||;'); \
ln -sf ../../$${lib} $(destdir)$(tgtlibdir)/$${link}; \