summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--999.tarballs.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/999.tarballs.build b/999.tarballs.build
index 94accaf5..19ab7f7a 100644
--- a/999.tarballs.build
+++ b/999.tarballs.build
@@ -37,7 +37,8 @@ secure_rm ${PREFIX_BASENAME}/lib.bak;
insecure_mkdir ${PREFIX_BASENAME}/lib.bak;
tar -C ${PREFIX_BASENAME}/lib -cpf - . | tar -C ${PREFIX_BASENAME}/lib.bak -xpf -;
log_msg info "Backed up ${PREFIX_BASENAME}/lib.";
-for __ in $(find native/lib -maxdepth 1 -type l); do
+for __ in $(find native/lib \( -iname \*.so -or -iname \*.so.\* \) \
+ -type l); do
___="native/lib/$(readlink -- ${__})";
if [ -f "${___}" ]; then
secure_rm ${__}; ln -f -- "${___}" "${__}";