mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-25 01:55:31 +00:00
ECDH: Exclude FStar and Hacl* from exported symbol checks
This commit is contained in:
parent
7cc4c68eb6
commit
1083a25a29
|
@ -30,9 +30,9 @@ if [ -n "$make_ret" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if uname | grep -F Darwin >/dev/null; then
|
if uname | grep -F Darwin >/dev/null; then
|
||||||
nm -gUj library/libmbed*.a 2>/dev/null | sed -n -e 's/^_//p'
|
nm -gUj library/libmbed*.a 2>/dev/null | sed -n -e 's/^_//p' | grep -v -e ^FStar -e ^Hacl
|
||||||
elif uname | grep -F Linux >/dev/null; then
|
elif uname | grep -F Linux >/dev/null; then
|
||||||
nm -og library/libmbed*.a | grep -v '^[^ ]*: *U \|^$\|^[^ ]*:$' | sed 's/^[^ ]* . //'
|
nm -og library/libmbed*.a | grep -v '^[^ ]*: *U \|^$\|^[^ ]*:$' | sed 's/^[^ ]* . //' | grep -v -e ^FStar -e ^Hacl
|
||||||
fi | sort > exported-symbols
|
fi | sort > exported-symbols
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue