add one more check

This commit is contained in:
Sylvestre Ledru 2018-11-15 14:16:02 +01:00
parent e563ce161d
commit 5e7c1dfabd

View File

@ -22,6 +22,10 @@ if test ! -f /usr/bin/llvm-config-$VERSION; then
echo "Install llvm-$VERSION & llvm-$VERSION-dev"
exit 1
fi
if test ! -f /usr/lib/llvm-$VERSION/lib/libLLVM-$VERSION.so; then
echo "Install llvm-$VERSION-dev"
exit 1
fi
llvm-config-$VERSION --link-shared --libs &> /dev/null
echo '#include <stdlib.h>