Skip to content

Commit e033bae

Browse files
committed
debug 4
1 parent 72b111f commit e033bae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_info-bin.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ 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 '------------------------------'
7678
"${NM}" --extern-only --defined-only "${f}" | grep -a -F -v ' T _curl_' && false # should not export anything else except the libcurl API
7779
fi
7880
elif [ "${_OS}" = 'linux' ]; then
@@ -114,7 +116,7 @@ while [ -n "${1:-}" ]; do
114116
# Allowlist:
115117
# - MUSL: _fini, _init
116118
# - ?: _start, _start_c
117-
"${NM}" --dynamic --defined-only "${f}" | grep -a -E -v ' T (curl_|(_fini|_init|_start|_start_c)$)' && false || true # FIXME: should not export anything else except the libcurl API
119+
"${NM}" --dynamic --defined-only "${f}" | grep -a -E -v ' T (curl_|(_fini|_init|_start|_start_c)$)' || true # FIXME: should not export anything else except the libcurl API
118120
fi
119121
# nm -D -g = --dynamic --extern-only
120122
fi

0 commit comments

Comments
 (0)