From c64fba7538717c7c8664fadd84fa32ca68bc1782 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 31 Mar 2023 07:54:34 -0700 Subject: [PATCH] package: allow any library which has a SONAME to be a provider Signed-off-by: Ariadne Conill --- pkg/build/package.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/build/package.go b/pkg/build/package.go index 8be9d6c8f..cc353832f 100644 --- a/pkg/build/package.go +++ b/pkg/build/package.go @@ -446,7 +446,7 @@ func generateSharedObjectNameDeps(pc *PackageContext, generated *Dependencies) e } } - if !pc.Options.NoProvides && strings.Contains(basename, ".so.") { + if !pc.Options.NoProvides { sonames, err := ef.DynString(elf.DT_SONAME) // most likely SONAME is not set on this object if err != nil {