File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,11 @@ 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
79+ echo ' ---------------------------------------'
80+ echo ' ---------------------------------------'
7781 fi
7882 elif [ " ${_OS} " = ' linux' ]; then
7983 # NOTE: objdump -syms (-t) to show symbol visibility flags
@@ -111,7 +115,11 @@ while [ -n "${1:-}" ]; do
111115 if [ " ${filetype} " != ' exe' ]; then # Verify exported curl symbols
112116 " ${NM} " --dynamic --defined-only " ${f} " # -D -U
113117 " ${NM} " --dynamic --defined-only " ${f} " | grep -a -F ' curl_' | sort || false # -D -U
118+ echo ' ---------------------------------------'
119+ echo ' ---------------------------------------'
114120 " ${NM} " --dynamic --defined-only " ${f} " | grep -a -F -v ' T curl_' && false # should not export anything else except the libcurl API
121+ echo ' ---------------------------------------'
122+ echo ' ---------------------------------------'
115123 fi
116124 # nm -D -g = --dynamic --extern-only
117125 fi
You can’t perform that action at this time.
0 commit comments