diff options
author | Alexey Neyman <stilor@att.net> | 2017-03-19 00:34:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-19 00:34:51 -0700 |
commit | 89f0971391fa26c442ce9bfb055c55e5cae2d0d1 (patch) | |
tree | b82d03ad78739881aa8e4993e0dcf8d290e14c30 /scripts/build/libc/musl.sh | |
parent | a3dd55b96409922a416c05ab053569ec4f91126b (diff) | |
parent | 63b2a19de4b33f304b236850028b6c6f32ce51e2 (diff) | |
download | crosstool-ng-89f0971391fa26c442ce9bfb055c55e5cae2d0d1.tar.gz crosstool-ng-89f0971391fa26c442ce9bfb055c55e5cae2d0d1.tar.bz2 crosstool-ng-89f0971391fa26c442ce9bfb055c55e5cae2d0d1.zip |
Merge pull request #639 from stilor/tweak-gcc-movelibs
When moving gcc libs, prefer the same directory as libc
Diffstat (limited to 'scripts/build/libc/musl.sh')
-rw-r--r-- | scripts/build/libc/musl.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/build/libc/musl.sh b/scripts/build/libc/musl.sh index 4ccb84c0..5a53fd0a 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() { @@ -102,6 +104,8 @@ do_libc_backend_once() { extra_config+=( "--includedir=/usr/include/${hdr_install_subdir}" ) fi + CT_SymlinkToolsMultilib + # NOTE: musl handles the build/host/target a little bit differently # then one would expect: # build : not used |