Merge "Clean up some bp2build technical debt"

This commit is contained in:
Treehugger Robot
2022-05-23 18:01:04 +00:00
committed by Gerrit Code Review
10 changed files with 9 additions and 50 deletions

View File

@@ -183,7 +183,7 @@ func (binary *binaryDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps {
}
}
if !binary.static() && inList("libc", deps.StaticLibs) && !ctx.BazelConversionMode() {
if !binary.static() && inList("libc", deps.StaticLibs) {
ctx.ModuleErrorf("statically linking libc to dynamic executable, please remove libc\n" +
"from static libs or set static_executable: true")
}