depend-cleanup: ensure clang and llvm binaries are rebuilt
In 2e47f35be5, libllvm, libclang and liblldb became shared libraries,
so make sure the binaries that depend on these libraries get rebuilt.
MFC after: 2 weeks
This commit is contained in:
@@ -346,3 +346,17 @@ clean_dep usr.sbin/ctld isns c
|
||||
clean_dep usr.sbin/ctld kernel c
|
||||
clean_dep usr.sbin/ctld login c
|
||||
clean_dep usr.sbin/ctld uclparse c
|
||||
|
||||
# 20250425 2e47f35be5dc libllvm, libclang and liblldb became shared libraries
|
||||
if [ -f "$OBJTOP"/lib/clang/libllvm/libllvm.a ]; then
|
||||
echo "Removing old static libllvm library"
|
||||
run rm -f "$OBJTOP"/lib/clang/libllvm/libllvm.a
|
||||
fi
|
||||
if [ -f "$OBJTOP"/lib/clang/libclang/libclang.a ]; then
|
||||
echo "Removing old static libclang library"
|
||||
run rm -f "$OBJTOP"/lib/clang/libclang/libclang.a
|
||||
fi
|
||||
if [ -f "$OBJTOP"/lib/clang/liblldb/liblldb.a ]; then
|
||||
echo "Removing old static liblldb library"
|
||||
run rm -f "$OBJTOP"/lib/clang/liblldb/liblldb.a
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user