From 6f7fa0638cd7f5df439cb2a19addb0a96e61b87b Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 16 Oct 2024 03:22:36 +0200 Subject: [PATCH] _info-bin.sh: try fixes --- _info-bin.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_info-bin.sh b/_info-bin.sh index 4c156bada..10cd4a2e9 100755 --- a/_info-bin.sh +++ b/_info-bin.sh @@ -73,7 +73,7 @@ while [ -n "${1:-}" ]; do if [ "${is_curl}" = '1' ] && [ "${filetype}" != 'exe' ]; then # Verify exported curl symbols "${NM}" --extern-only --defined-only "${f}" # -g -U "${NM}" --extern-only --defined-only "${f}" | grep -a -F ' _curl_' | sort || false # -g -U - "${NM}" --extern-only --defined-only "${f}" | grep -a -F ' T ' | grep -a -F -v ' curl_' && false # should not export anything else except the libcurl API + "${NM}" --extern-only --defined-only "${f}" | grep -a -F -v ' T _curl_' && false # should not export anything else except the libcurl API fi elif [ "${_OS}" = 'linux' ]; then # NOTE: objdump -syms (-t) to show symbol visibility flags @@ -111,7 +111,7 @@ while [ -n "${1:-}" ]; do if [ "${filetype}" != 'exe' ]; then # Verify exported curl symbols "${NM}" --dynamic --defined-only "${f}" # -D -U "${NM}" --dynamic --defined-only "${f}" | grep -a -F ' curl_' | sort || false # -D -U - "${NM}" --dynamic --defined-only "${f}" | grep -a -F ' T ' | grep -a -F -v ' curl_' && false # should not export anything else except the libcurl API + "${NM}" --dynamic --defined-only "${f}" | grep -a -F -v ' T curl_' && false # should not export anything else except the libcurl API fi # nm -D -g = --dynamic --extern-only fi