Skip to content

Commit f96c021

Browse files
committed
actually check for asan symbols also in the toxcore static libs
1 parent 678f8b6 commit f96c021

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

circle_scripts/deps_linux.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,13 @@ fi
522522
unset CXXFLAGS
523523
unset CFLAGS
524524

525+
if [ "$2""x" == "asanx" ]; then
526+
# check if we actually have ASAN symbols in the library files
527+
nm $_INST_/lib/libtoxcore.a | grep -i asan || exit 1
528+
nm $_INST_/lib/libtoxav.a | grep -i asan || exit 1
529+
nm $_INST_/lib/libtoxencryptsave.a | grep -i asan || exit 1
530+
fi
531+
525532
cd "$_HOME_"
526533

527534
# ---------- c-toxcore ---------

0 commit comments

Comments
 (0)