Browse Source

sde-build: fix postflist_static_lib() to not use readlink -f preserving the original target of the link

user/chris/test/patchcksum
Alejandro Mery 13 years ago
parent
commit
a5b1d11e8d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      lib/functions.in

+ 2
- 1
lib/functions.in

@ -452,7 +452,8 @@ postflist_static_lib() {
;;
*.so)
if [ -L "$ffn" ]; then
local dfn=$(relative_path $(readlink -f "$ffn") "$ffn2")
local dfn="${ffn%/*}/$(readlink "$ffn")"
dfn=$(relative_path "$dfn" "$ffn2")
ln -svnf "$dfn" "$ffn2"
rm -f "$ffn"
fi

Loading…
Cancel
Save