aboutsummaryrefslogtreecommitdiff
path: root/common/hooks/pre-pkg/06-shlib-provides.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common/hooks/pre-pkg/06-shlib-provides.sh')
-rw-r--r--common/hooks/pre-pkg/06-shlib-provides.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hooks/pre-pkg/06-shlib-provides.sh b/common/hooks/pre-pkg/06-shlib-provides.sh
index cdc94de3bc9..fc39f6bfbe4 100644
--- a/common/hooks/pre-pkg/06-shlib-provides.sh
+++ b/common/hooks/pre-pkg/06-shlib-provides.sh
@@ -45,7 +45,7 @@ collect_sonames() {
hook() {
local _destdir32=${XBPS_DESTDIR}/${pkgname}-32bit-${version}
- if [ -z "$shlib_provides" -a "${archs// /}" = "noarch" -o -n "$noshlibprovides" ]; then
+ if [ -n "$noshlibprovides" ]; then
return 0
fi