From 492cdc182bda1e30b807b21de186da0457b2320c Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 18 May 2019 22:51:31 -0400 Subject: build: Remove moved links --- (limited to 'build') 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}; \ -- cgit v0.9.1