summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--subr/pkg_install_libs.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/subr/pkg_install_libs.subr b/subr/pkg_install_libs.subr
index a13105ab..3dcc0ac2 100644
--- a/subr/pkg_install_libs.subr
+++ b/subr/pkg_install_libs.subr
@@ -29,7 +29,7 @@ pkgp_install_libs_shared() {
for _so_src_path in \
$(find "${PKG_DESTDIR}" \
\( -name "*.so" -or -name "*.so.*" \) -print);
- do if [ "$(readlink -f "${_so_path}")" != "/dev/null" ]\
+ do if [ "$(readlink -f "${_so_src_path}")" != "/dev/null" ]\
&& [ -z "$(rtl_head "[0-9.]" "${_so_src_path##*.so}")" ]; then
case "${_so_src_path}" in
*.so) _lib_src_path="${_so_src_path%%.so}.lib.a"; ;;