Skip to content

Commit 6f7fa06

Browse files
committed
_info-bin.sh: try fixes
1 parent 0ba68ef commit 6f7fa06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_info-bin.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +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-
"${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
76+
"${NM}" --extern-only --defined-only "${f}" | grep -a -F -v ' T _curl_' && false # should not export anything else except the libcurl API
7777
fi
7878
elif [ "${_OS}" = 'linux' ]; then
7979
# NOTE: objdump -syms (-t) to show symbol visibility flags
@@ -111,7 +111,7 @@ while [ -n "${1:-}" ]; do
111111
if [ "${filetype}" != 'exe' ]; then # Verify exported curl symbols
112112
"${NM}" --dynamic --defined-only "${f}" # -D -U
113113
"${NM}" --dynamic --defined-only "${f}" | grep -a -F ' curl_' | sort || false # -D -U
114-
"${NM}" --dynamic --defined-only "${f}" | grep -a -F ' T ' | grep -a -F -v ' curl_' && false # should not export anything else except the libcurl API
114+
"${NM}" --dynamic --defined-only "${f}" | grep -a -F -v ' T curl_' && false # should not export anything else except the libcurl API
115115
fi
116116
# nm -D -g = --dynamic --extern-only
117117
fi

0 commit comments

Comments
 (0)