index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Florian Pritz <bluewind@xinu.at> | 2011-06-17 22:06:44 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-20 00:20:52 -0500 |
commit | 34876e4fe9707de961318da28dba604dffff6d49 (patch) | |
tree | 0f24e92431f0f1c74d9d5d770a05302b39582be6 | |
parent | 36d98b3919d37c7f376c9f0f787a3b4b660da73e (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index dfb79768..78cd4cfc 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -977,7 +977,7 @@ find_libprovides() { soarch=$(LC_ALL=C readelf -h "$filename" | sed -n 's/.*Class.*ELF\(32\|64\)/\1/p') # get the string binaries link to: libfoo.so.1.2 -> libfoo.so.1 sofile=$(LC_ALL=C readelf -d "$filename" 2>/dev/null | sed -n 's/.*Library soname: \[\(.*\)\].*/\1/p') - [ -z "$sofile" ] && sofile="${$filename##*/}" + [ -z "$sofile" ] && sofile="${filename##*/}" # extract the library name: libfoo.so soname="${sofile%%\.so\.*}.so" |