summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_world_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/ptxd_make_world_install.sh')
-rw-r--r--scripts/lib/ptxd_make_world_install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_install.sh b/scripts/lib/ptxd_make_world_install.sh
index 38e0716b3..e1158f24c 100644
--- a/scripts/lib/ptxd_make_world_install.sh
+++ b/scripts/lib/ptxd_make_world_install.sh
@@ -81,7 +81,7 @@ ptxd_make_world_install_unpack() {
# fix rpaths in host/cross tools
if [ "${pkg_type}" != "target" ]; then
- find "${pkg_pkg_dir}" ! -type d -executable -print | while read file; do
+ find "${pkg_pkg_dir}" ! -type d -perm /111 -print | while read file; do
if chrpath "${file}" > /dev/null 2>&1; then
chrpath --replace "${PTXDIST_SYSROOT_HOST}/lib" "${file}" || return
fi