Skip to content

Commit 0da2e36

Browse files
committed
Revert "Add ld-* libs to shared library dependencies"
This reverts commit 7db64a1.
1 parent 945e0d5 commit 0da2e36

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/ldd.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ func NewLddCmd() *cobra.Command {
5454
}
5555
for _, dep := range dependencies {
5656
if strings.HasPrefix(dep, tmpRoot) {
57+
if strings.HasPrefix(filepath.Base(dep), "ld-") {
58+
// don't link against ld itself
59+
continue
60+
}
5761
files = append(files, strings.TrimPrefix(dep, tmpRoot))
5862
}
5963
}

0 commit comments

Comments
 (0)