summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-03-08 14:37:13 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-03-08 14:37:13 +0000
commit4cb0c0441face4f315c2b0b0998d96f0cf5a0b67 (patch)
tree58b1e0a7d423c7d05e027000fc83ce17132157b4 /subr
parent9c9b7f80466a8c46b59d4901bf31e85b5d6820b0 (diff)
downloadmidipix_build-4cb0c0441face4f315c2b0b0998d96f0cf5a0b67.tar.bz2
midipix_build-4cb0c0441face4f315c2b0b0998d96f0cf5a0b67.tar.xz
subr/pkg_install.subr: don't perk shared objects that are symlinks to /dev/null.
Diffstat (limited to 'subr')
-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}";