From 56f9ee427d21f51df4469fc90197aff5333a3815 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Sat, 28 Oct 2017 22:17:39 +0000 Subject: subr/pkg_install.subr:pkgp_install_dlltool(): skip library archives already present. --- subr/pkg_install.subr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'subr') 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; -- cgit v1.2.3