mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-10-04 19:14:22 +00:00
add a check to make sure it doesn't happen again
This commit is contained in:
parent
b98d211b69
commit
c927410913
7
debian/qualify-clang.sh
vendored
7
debian/qualify-clang.sh
vendored
@ -30,8 +30,11 @@ if test ! -f /usr/lib/llvm-$VERSION/lib/libLLVM-$VERSION.so; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test -f /usr/lib/llvm-$VERSION/lib/libLLVM.so; then
|
||||
echo "/usr/lib/llvm-$VERSION/lib/libLLVM.so found."
|
||||
NBLINES=$(ls -1 /usr/lib/llvm-$VERSION/lib/libLLVM*.so*|wc -l)
|
||||
if test $NBLINES -ne 0; then
|
||||
echo "Found some libLLVM into /usr/lib/llvm-$VERSION/lib/"
|
||||
echo "See:"
|
||||
ls -al /usr/lib/llvm-$VERSION/lib/libLLVM*.so*
|
||||
echo "Break the build as it breaks the coinstalability"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user