mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-01-11 09:19:40 +00:00
abuild: fix ldpath handling
it wrongly scanned /lib instead of $datadir/lib, causing bad things to happen when scanning provides
This commit is contained in:
parent
21fb14d4e1
commit
f43f6d312b
@ -1020,7 +1020,7 @@ find_scanelf_paths() {
|
||||
local datadir="$1"
|
||||
local paths="$datadir/lib:$datadir/usr/lib" i= rpaths=
|
||||
if [ -n "$ldpath" ]; then
|
||||
paths="$paths:$(echo "$ldpath" | sed "s|\(^\|:\)|\1$datadir|g")"
|
||||
paths="$paths:$(echo "${datadir}${ldpath}" | sed "s|:|:$datadir|g")"
|
||||
fi
|
||||
# search in all rpaths
|
||||
for rpaths in "$pkgbasedir"/.control.*/.rpaths; do
|
||||
|
Loading…
Reference in New Issue
Block a user