summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--advertise-provided-libraries.PKGBUILDpatch7
1 files changed, 7 insertions, 0 deletions
diff --git a/advertise-provided-libraries.PKGBUILDpatch b/advertise-provided-libraries.PKGBUILDpatch
new file mode 100644
index 000000000..fd3700b0a
--- /dev/null
+++ b/advertise-provided-libraries.PKGBUILDpatch
@@ -0,0 +1,7 @@
+if printf '%s\n' "${arch[@]}" | grep -qvxF any; then
+ provides+=(
+ $(
+ find "${pkgdir}/usr/lib" -name '*.so' -printf '%f\n'
+ )
+ )
+fi