toolchain: musl: fix symlink for ldd
authorJonas Gorski <jogo@openwrt.org>
Wed, 19 Nov 2014 12:17:34 +0000 (12:17 +0000)
committerJonas Gorski <jogo@openwrt.org>
Wed, 19 Nov 2014 12:17:34 +0000 (12:17 +0000)
commit8a820a098f5909cc8310fa45cfb11a0fdb85b81a
tree78f5f4a9467e4a37875fe1dc4c52c7889089f697
parent48d3af20ddb0ceedf671a818d9ebcea63f4e6c7e
toolchain: musl: fix symlink for ldd

ld-musl-*.so* is a symlink "broken" for the hostsystem, so wildcard
will skip it, causing LD_MUSL_NAME to empty and the ldd symlink pointing
to ../../lib directly.
This causes sysupgrade failing to copy any linked libaries and
consequently failing to run anything after switching to ram disk.

Fix this by creating a symlink directly pointing to where ld-musl-*.so*
points to.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 43314
package/libs/toolchain/Makefile