summaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-07-08 14:21:41 -0700
committerRoland McGrath <roland@hack.frob.com>2015-07-08 14:21:41 -0700
commit85ee9a0d19ec8f5fca60f6bbe65e663329100118 (patch)
treef3c30a761188c1ed55458629d0f597307f9838d0 /elf
parentb8a91836171f5722bd5bef6dc2e9ce263c897974 (diff)
Fix some places to use $(LN_S) makefile variable.
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/elf/Makefile b/elf/Makefile
index bd0f24dd51..e439527fb9 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -377,8 +377,7 @@ ifneq (ld.so,$(rtld-installed-name))
# Make sure ld.so.1 exists in the build directory so we can link
# against it.
$(objpfx)$(rtld-installed-name): $(objpfx)ld.so
- rm -f $@
- ln -s $(<F) $@
+ $(make-link)
generated += $(rtld-installed-name)
endif