blob: a8ff198e25ce63f6c2d66360fdc5ff990533a18c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/usr/bin/env bash
echo "Custom libs linked"
grep "spm" "$(ldd $1)"
search="$2"
if [[ "${search}" == "" ]]; then
search="${LIBNAME}_${LIBVERSION}"
fi
res=$(ldd $1|grep "spm"|grep "$search")
if [[ "${res}" == "" ]]; then
echo "Cant find requested lib: $search"
exit 1
fi
exit 0
|