diff options
author | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-03-28 12:16:39 +0000 |
---|---|---|
committer | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-03-28 12:16:39 +0000 |
commit | 650d4e0fab8a94590f7d206ff42c2da74281a02c (patch) | |
tree | e159e36edc5e5e1f3472bf254569f8923587a115 /package/mkelfimage/Makefile | |
parent | 308b8453fd72c3d4bee38d398ea5c8f884e1e0a7 (diff) |
toolchain: stop generating broken symlink in TOOLCHAIN_DIR/lib
It turns out that the symlink may exists already by the time the toolchain
Makefile gets an opportunity to run. While we asked to replace the target, ln
doesn't do so until after dereferencing the existing symlink. This results in
an unintended symlink that refers to itself. Instead, create the link without
dereferencing any symlinks by using the -n option.
Signed-off-by: John Szakmeister <john@szakmeister.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36140 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mkelfimage/Makefile')
0 files changed, 0 insertions, 0 deletions