File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments