summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-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}; \