summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/check-elf-dynamic-objects4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/check-elf-dynamic-objects b/bin/check-elf-dynamic-objects
index 32cff5755c1f..f05d513bad94 100755
--- a/bin/check-elf-dynamic-objects
+++ b/bin/check-elf-dynamic-objects
@@ -13,7 +13,7 @@
set -euo pipefail
PARA=1
-check_path="${INSTDIR:-.}/program"
+check_path="${INSTDIR:-.}"
while [ "${1:-}" != "" ]; do
parm=${1%%=*}
@@ -56,7 +56,7 @@ while [ "${1:-}" != "" ]; do
done
-files=$(find "${check_path}" -type f)
+files=$(find "${check_path}/program" "${check_path}/sdk/bin" -type f)
# all RPATHs should point to ${INSTDIR}/program so that's the files they find
programfiles=$(basename -a $(echo ${files} | grep -o '/program/[^/]* '))