test-symbols.sh 329 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh

set -e

if test -z "$srcdir"; then
	srcdir=.
fi

check_symbols=$srcdir/../scripts/check-symbols.sh

if ! test -f $check_symbols; then
12
	echo "cannot find check-symbols.sh"
13 14 15 16
	exit 1
fi

if ! test -f .libs/libnice.so; then
17
	echo "no shared object found" >&2
18
	exit 77
19 20
fi

21
sh $check_symbols .libs/libnice.so libnice.symbols