diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-08 13:43:59 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-08 13:43:59 +0000 |
commit | d15a37b230b219f74f19e1ecd4c6b904a927f8d2 (patch) | |
tree | 37daa1d90f769deacd598767e29fca7a7b1bf8e5 /abuild.in | |
parent | dfa8e825e70a7db2ae2caa0a51b33c3056000260 (diff) | |
download | abuild-d15a37b230b219f74f19e1ecd4c6b904a927f8d2.tar.gz abuild-d15a37b230b219f74f19e1ecd4c6b904a927f8d2.tar.bz2 abuild-d15a37b230b219f74f19e1ecd4c6b904a927f8d2.tar.xz abuild-d15a37b230b219f74f19e1ecd4c6b904a927f8d2.zip |
abuild: add datadir prefix to ldpath
So we actually scan those dirs
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |