check the binary on linux only
parent
b8f3e02170
commit
b50aed45b7
8
build.sh
8
build.sh
|
@ -88,7 +88,9 @@ for i in $packages; do
|
||||||
done
|
done
|
||||||
|
|
||||||
# make sure that the server doesn't use a new version of glibc
|
# make sure that the server doesn't use a new version of glibc
|
||||||
if readelf -a ./server | grep GLIBC_2.14 >/dev/null 2>&1; then
|
if [ $on_linux == yes ]; then
|
||||||
echo "./server has some references to GLIBC_2.14. Aborting."
|
if readelf -a ./server | grep GLIBC_2.14 >/dev/null 2>&1; then
|
||||||
exit 1
|
echo "./server has some references to GLIBC_2.14. Aborting."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue