From d90c1fb02faa0a5aeca6410a72d52d53ddf2455e Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 23 Mar 2014 16:37:17 -0400 Subject: Add binary library deps directly, without symlink zoo Fixes FS#39560. --- functions | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/functions b/functions index 2d38815..79b75ad 100644 --- a/functions +++ b/functions @@ -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" -- cgit v1.2.3-24-g4f1b