diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-03-23 21:37:17 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-03-23 21:37:17 +0100 |
commit | d90c1fb02faa0a5aeca6410a72d52d53ddf2455e (patch) | |
tree | 5286b22823bdacf9e0652f36df63444f07adca5d /functions | |
parent | d88deaadc591e1f6f62b7517772fb6b892d76251 (diff) | |
download | mkinitcpio-d90c1fb02faa0a5aeca6410a72d52d53ddf2455e.tar.gz mkinitcpio-d90c1fb02faa0a5aeca6410a72d52d53ddf2455e.tar.xz |
Add binary library deps directly, without symlink zoo
Fixes FS#39560.
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -584,13 +584,7 @@ add_binary() { fi if [[ -f $sodep && ! -e $BUILDROOT$sodep ]]; then - if [[ ! -L $sodep ]]; then - add_file "$sodep" "$sodep" "$(stat -c %a "$sodep")" - else - resolved=$(readlink -e "$sodep") - add_symlink "$sodep" "$(readlink "$sodep")" - add_file "$resolved" "$resolved" 755 - fi + add_file "$sodep" "$sodep" "$(stat -Lc %a "$sodep")" fi done <<< "$lddout" |