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
......@@ -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:$(echo "$ldpath" | sed "s|\(^\|:\)|\1$datadir|g")"
# search in all rpaths
for rpath in "$pkgbasedir"/.control.*/.rpath; do
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment