mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-01-09 16:19:48 +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 controldir="$1" datadir="$2"
|
||||||
local paths="$datadir/lib:$datadir/usr/lib" i= rpath=
|
local paths="$datadir/lib:$datadir/usr/lib" i= rpath=
|
||||||
if [ -n "$ldpath" ]; then
|
if [ -n "$ldpath" ]; then
|
||||||
paths="$paths:$ldpath"
|
paths="$paths:$(echo "$ldpath" | sed "s|\(^\|:\)|\1$datadir|g")"
|
||||||
fi
|
fi
|
||||||
# search in all rpaths
|
# search in all rpaths
|
||||||
for rpath in "$pkgbasedir"/.control.*/.rpath; do
|
for rpath in "$pkgbasedir"/.control.*/.rpath; do
|
||||||
|
Loading…
Reference in New Issue
Block a user