Skip to content

Commit 6f6a75b

Browse files
committed
debug 5
1 parent b6fb81b commit 6f6a75b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

_info-bin.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ while [ -n "${1:-}" ]; do
7373
if [ "${is_curl}" = '1' ] && [ "${filetype}" != 'exe' ]; then # Verify exported curl symbols
7474
"${NM}" --extern-only --defined-only "${f}" # -g -U
7575
"${NM}" --extern-only --defined-only "${f}" | grep -a -F ' _curl_' | sort || false # -g -U
76-
echo '------------------------------'
77-
echo '------------------------------'
78-
"${NM}" --extern-only --defined-only "${f}" | grep -a -F -v ' T _curl_' && false # should not export anything else except the libcurl API
76+
"${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
7977
fi
8078
elif [ "${_OS}" = 'linux' ]; then
8179
# NOTE: objdump -syms (-t) to show symbol visibility flags

0 commit comments

Comments
 (0)