mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
common/hooks/pre-pkg/04-generate-runtime-deps: use 3rd shlibs field
to skip shlibs that should be different on different archs for this to work, the specially-handled arch must be before the generic one, for example: libc.so musl1.1-1.1.24_1 armv7l-musl libc.so musl-1.2.5_1
This commit is contained in:
parent
2f2c7724cf
commit
3344a31c41
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ hook() {
|
||||||
_pkgname=${_pkgname%.nosoname}
|
_pkgname=${_pkgname%.nosoname}
|
||||||
_sdep="${_pkgname}-${version}_${revision}"
|
_sdep="${_pkgname}-${version}_${revision}"
|
||||||
else
|
else
|
||||||
_rdep="$(awk -v sl="$f" '$1 == sl { print $2; exit; }' "$mapshlibs")"
|
_rdep="$(awk -v sl="$f" -v arch="$XBPS_TARGET_MACHINE" '$1 == sl && ($3 == "" || $3 == "ignore" || $3 == arch) { print $2; exit; }' "$mapshlibs")"
|
||||||
|
|
||||||
if [ -z "$_rdep" ]; then
|
if [ -z "$_rdep" ]; then
|
||||||
msg_red_nochroot " SONAME: $f <-> UNKNOWN PKG PLEASE FIX!\n"
|
msg_red_nochroot " SONAME: $f <-> UNKNOWN PKG PLEASE FIX!\n"
|
||||||
|
|
Loading…
Add table
Reference in a new issue