toolchain: link ldd when using external toolchain
authorArien Judge <arienjudge@outlook.com>
Fri, 13 Oct 2023 09:58:16 +0000 (20:58 +1100)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 20 Oct 2023 16:55:55 +0000 (18:55 +0200)
commitc46ae366cfe3ea985c2b866d8b61f87c2a981f85
treef740aadbbd02dddbf707ce670170c9b72f857dec
parent4536fb4c5c7b3564dae301529bb0ac4a3ce914b8
toolchain: link ldd when using external toolchain

When using an external toolchain, ldd is not linked into the rootfs.
This causes subsequent upgrades to fail with 'Failed to exec upgraded'.
This patch adds the symlink when using an external toolchain and musl.

Signed-off-by: Arien Judge <arienjudge@outlook.com>
package/libs/toolchain/Makefile