aboutsummaryrefslogtreecommitdiff
path: root/tools/webOS
diff options
context:
space:
mode:
authorStephan Sundermann <stephansundermann@gmail.com>2023-09-27 00:03:49 +0200
committerStephan Sundermann <stephansundermann@gmail.com>2023-09-27 00:03:49 +0200
commit548ab280e61680f6429e19ad8821040bd41d7484 (patch)
treeb699c381e9841acd80a2818161f5625bc367f96d /tools/webOS
parente0b42ee7cd099aff3c7fa9514e3a54c4cd901954 (diff)
[webOS] Don't assume the RUNPATH to be available
Currently, the RUNPATH is assumed to be available on the deployment device. Generally, this is not true and breaks with when compiling with a more recent buildroot-nc4 toolchain
Diffstat (limited to 'tools/webOS')
-rwxr-xr-xtools/webOS/verify-symbols.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/webOS/verify-symbols.sh b/tools/webOS/verify-symbols.sh
index 6123e09a49..095570bb47 100755
--- a/tools/webOS/verify-symbols.sh
+++ b/tools/webOS/verify-symbols.sh
@@ -14,8 +14,7 @@ if [ ! -d "${WEBOS_ROOTFS}" ]; then
exit 1
fi
-lib_search_paths="$(objdump -p ${EXE} | grep RUNPATH | tr -s ' ' | cut -d ' ' -f 3)"
-lib_search_paths="${lib_search_paths}:${WEBOS_ROOTFS}/lib:${WEBOS_ROOTFS}/usr/lib:${WEBOS_LD_LIBRARY_PATH}"
+lib_search_paths="${WEBOS_ROOTFS}/lib:${WEBOS_ROOTFS}/usr/lib:${WEBOS_LD_LIBRARY_PATH}"
required_syms=$(nm --dynamic --extern-only --undefined-only "${EXE}" | grep ' [U] ' | tr -s ' ' | cut -d ' ' -f 3)