summaryrefslogtreecommitdiff
path: root/scripts/build/libc/musl.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-03-13 02:41:09 (GMT)
committerAlexey Neyman <stilor@att.net>2017-03-13 02:41:09 (GMT)
commitb090e0f74d1ca0c0c45ec416c139f709a8e28f61 (patch)
treeec16c388b5505a4d369f1614c394e5c339e23942 /scripts/build/libc/musl.sh
parent8600f3ce56f67a2a0d7b4a14eb9e8b1f0ec49dec (diff)
Fix up ld.so symlinks for musl
Convert absolute targets to relative so that they are valid on the host, too. The procedure is very similar to uclibc, so it is moved into a common function. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/libc/musl.sh')
-rw-r--r--scripts/build/libc/musl.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build/libc/musl.sh b/scripts/build/libc/musl.sh
index 3d6fe04..5a53fd0 100644
--- a/scripts/build/libc/musl.sh
+++ b/scripts/build/libc/musl.sh
@@ -29,7 +29,9 @@ do_libc() {
}
do_libc_post_cc() {
- :
+ # MUSL creates dynamic linker symlink with absolute path - which works on the
+ # target but not on the host. We want our cross-ldd tool to work.
+ CT_MultilibFixupLDSO
}
do_libc_backend() {