Skip to content
Snippets Groups Projects
Commit d15a37b2 authored by Natanael Copa's avatar Natanael Copa
Browse files

abuild: add datadir prefix to ldpath

So we actually scan those dirs
parent dfa8e825
No related merge requests found
...@@ -926,7 +926,7 @@ find_scanelf_paths() { ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment