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)
commit4b16b9015253abe3fa1d42ed0e367c5b7a0e8398
treebd148c39238fd4cfc5365d8925ac1464d96bc954
parent2d09efcd26be6ba4d004691fce1db1e382501d26
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