From: Dongkyun Son Date: Fri, 14 Jul 2023 08:14:31 +0000 (+0900) Subject: scripts: update target_debug_path X-Git-Tag: accepted/tizen/unified/dev/20230726.115953~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=674e5fda89b45bc7a9b8a3b1bd157b2ceb1171e4;p=platform%2Fcore%2Fsystem%2Fswap-probe.git scripts: update target_debug_path Change-Id: I953f603f8a1023a668e57849307be536ef935099 Signed-off-by: Dongkyun Son --- diff --git a/scripts/gen_linker_header.sh b/scripts/gen_linker_header.sh index 0b0817e..2377bb9 100755 --- a/scripts/gen_linker_header.sh +++ b/scripts/gen_linker_header.sh @@ -10,7 +10,7 @@ rtld_name=$(basename $(readlink -f $(readelf --program-headers /usr/bin/gcc | se if [ "$__tizen_product_tv__" == "1" ]; then target_debug_path="/lib/${rtld_name}" else - target_debug_path=$(rpm -ql tizen-debug | grep "so\.debug$" | grep "ld\-") + target_debug_path=$(rpm -ql tizen-debug | grep "so\.[[:digit:]]\.debug$" | grep "ld\-") fi fixup_function="_dl_fixup" reloc_function="_dl_relocate_object"