diff options
-rw-r--r-- | subr/pkg_install.subr | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subr/pkg_install.subr b/subr/pkg_install.subr index 958c4dd3..7661cf0e 100644 --- a/subr/pkg_install.subr +++ b/subr/pkg_install.subr @@ -28,7 +28,8 @@ pkgp_install_dlltool() { esac; _so_name="${_so_fname%%.so*}"; _lib_fname="${_so_name}${_so_fname_ver:+.${_so_fname_ver}}.lib.a"; - if [ -e "${PKG_PREFIX}/lib/${_lib_fname}" ] \ + if [ -e "${_lib_fname}" ] \ + || [ -e "${PKG_PREFIX}/lib/${_lib_fname}" ] \ || [ ! -e "${PKG_PREFIX}/lib/$(basename "${_so_fname}")" ] \ || [ "$(readlink -f "${_so_fname}")" = "/dev/null" ]; then continue; |