mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-22 23:12:45 +00:00
abuild: add datadir prefix to ldpath
So we actually scan those dirs
This commit is contained in:
parent
dfa8e825e7
commit
d15a37b230
@ -926,7 +926,7 @@ find_scanelf_paths() {
|
||||
local controldir="$1" datadir="$2"
|
||||
local paths="$datadir/lib:$datadir/usr/lib" i= rpath=
|
||||
if [ -n "$ldpath" ]; then
|
||||
paths="$paths:$ldpath"
|
||||
paths="$paths:$(echo "$ldpath" | sed "s|\(^\|:\)|\1$datadir|g")"
|
||||
fi
|
||||
# search in all rpaths
|
||||
for rpath in "$pkgbasedir"/.control.*/.rpath; do
|
||||
|
Loading…
Reference in New Issue
Block a user