summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--subr/pkg_install.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/subr/pkg_install.subr b/subr/pkg_install.subr
index 4b14a5d2..fb1cba43 100644
--- a/subr/pkg_install.subr
+++ b/subr/pkg_install.subr
@@ -23,8 +23,8 @@ pkgp_install_dlltool() {
-or -name "*.so.[0-9].[0-9].[0-9]" \) -printf '%P\n');
do
if [ \( -e ${_so_fname%.so}.lib.a \) -o \
- \( ! -e ${PKG_PREFIX}/lib/$(basename ${_so_fname}) \) ];
- then
+ \( ! -e ${PKG_PREFIX}/lib/$(basename ${_so_fname}) \) -o \
+ \( "$(readlink -f ${_so_fname})" = "/dev/null" \) ]; then
continue;
else
_so_name="${_so_fname%.so}";