summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-10-28 22:17:39 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-10-28 22:17:39 +0000
commit56f9ee427d21f51df4469fc90197aff5333a3815 (patch)
tree75fcbb98550da1b09dffe7a808e56a499a049902
parent8c71d86496d03a8418a5c8c1076df7b5a85b9c30 (diff)
downloadmidipix_build-56f9ee427d21f51df4469fc90197aff5333a3815.tar.bz2
midipix_build-56f9ee427d21f51df4469fc90197aff5333a3815.tar.xz
subr/pkg_install.subr:pkgp_install_dlltool(): skip library archives already present.
-rw-r--r--subr/pkg_install.subr3
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;