Guest User

Untitled

a guest
Aug 24th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. diff --git a/elements/gnu-toolchain/stage2-glibc.bst b/elements/gnu-toolchain/stage2-glibc.bst
  2. index fdb57dc..ddd153e 100644
  3. --- a/elements/gnu-toolchain/stage2-glibc.bst
  4. +++ b/elements/gnu-toolchain/stage2-glibc.bst
  5. @@ -109,17 +109,20 @@ config:
  6. - |
  7. case "%{bst-target-arch}" in
  8. x86_64)
  9. - install -d "%{install-root}/lib64"
  10. + install -d "%{install-root}/usr/lib64"
  11. + ln -s "/usr/lib64" "%{install-root}/lib64"
  12. ln -s "%{prefix}/lib/ld-linux-x86-64.so.2" \
  13. - "%{install-root}/lib64/ld-linux-x86-64.so.2" ;;
  14. + "%{install-root}/usr/lib64/ld-linux-x86-64.so.2" ;;
  15. ppc64l)
  16. - install -d "%{install-root}/lib64"
  17. + install -d "%{install-root}/usr/lib64"
  18. + ln -s "/usr/lib64" "%{install-root}/lib64"
  19. ln -s "%{prefix}/lib/ld64.so.2" \
  20. - "%{install-root}/lib64/ld64.so.2" ;;
  21. + "%{install-root}/usr/lib64/ld64.so.2" ;;
  22. ppc64b)
  23. - install -d "%{install-root}/lib64"
  24. + install -d "%{install-root}/usr/lib64"
  25. + ln -s "/usr/lib64" "%{install-root}/lib64"
  26. ln -s "%{prefix}/lib/ld64.so.1" \
  27. - "%{install-root}/lib64/ld64.so.1" ;;
  28. + "%{install-root}/usr/lib64/ld64.so.1" ;;
  29. *)
  30. loader=$(basename $(ls "%{install-root}%{prefix}"/lib/ld-linux*))
  31. [ -z $loader ] && loader=$(basename $(ls "%{install-root}%{prefix}"/lib/ld.so*))
Advertisement
Add Comment
Please, Sign In to add comment