File: test-symbols.sh

package info (click to toggle)
libnice 0.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,840 kB
  • sloc: ansic: 19,186; sh: 11,071; makefile: 348
file content (21 lines) | stat: -rwxr-xr-x 329 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

set -e

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

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

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

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

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