Skip to content

Commit

Permalink
Merge pull request xbmc#23826 from webosbrew/webos-verify-libs-fix
Browse files Browse the repository at this point in the history
[webOS] Don't assume libraries in RUNPATH to be available
  • Loading branch information
sundermann authored Sep 27, 2023
2 parents d209845 + 548ab28 commit ce797e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/webOS/verify-symbols.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit ce797e6

Please sign in to comment.