Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/elements/gnu-toolchain/stage2-glibc.bst b/elements/gnu-toolchain/stage2-glibc.bst
- index fdb57dc..ddd153e 100644
- --- a/elements/gnu-toolchain/stage2-glibc.bst
- +++ b/elements/gnu-toolchain/stage2-glibc.bst
- @@ -109,17 +109,20 @@ config:
- - |
- case "%{bst-target-arch}" in
- x86_64)
- - install -d "%{install-root}/lib64"
- + install -d "%{install-root}/usr/lib64"
- + ln -s "/usr/lib64" "%{install-root}/lib64"
- ln -s "%{prefix}/lib/ld-linux-x86-64.so.2" \
- - "%{install-root}/lib64/ld-linux-x86-64.so.2" ;;
- + "%{install-root}/usr/lib64/ld-linux-x86-64.so.2" ;;
- ppc64l)
- - install -d "%{install-root}/lib64"
- + install -d "%{install-root}/usr/lib64"
- + ln -s "/usr/lib64" "%{install-root}/lib64"
- ln -s "%{prefix}/lib/ld64.so.2" \
- - "%{install-root}/lib64/ld64.so.2" ;;
- + "%{install-root}/usr/lib64/ld64.so.2" ;;
- ppc64b)
- - install -d "%{install-root}/lib64"
- + install -d "%{install-root}/usr/lib64"
- + ln -s "/usr/lib64" "%{install-root}/lib64"
- ln -s "%{prefix}/lib/ld64.so.1" \
- - "%{install-root}/lib64/ld64.so.1" ;;
- + "%{install-root}/usr/lib64/ld64.so.1" ;;
- *)
- loader=$(basename $(ls "%{install-root}%{prefix}"/lib/ld-linux*))
- [ -z $loader ] && loader=$(basename $(ls "%{install-root}%{prefix}"/lib/ld.so*))
Advertisement
Add Comment
Please, Sign In to add comment