Advertisement
Guest User

Untitled

a guest
Aug 24th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. diff --git a/elements/gnu-toolchain/stage2-glibc.bst b/elements/gnu-toolchain/stage2-glibc.bst
  2. index fdb57dc..c6efbec 100644
  3. --- a/elements/gnu-toolchain/stage2-glibc.bst
  4. +++ b/elements/gnu-toolchain/stage2-glibc.bst
  5. @@ -109,15 +109,18 @@ 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. ppc64l)
  15. - install -d "%{install-root}/lib64"
  16. + install -d "%{install-root}/usr/lib64" \
  17. + ln -s "/usr/lib64" "%{install-root}/lib64"\
  18. ln -s "%{prefix}/lib/ld64.so.2" \
  19. "%{install-root}/lib64/ld64.so.2" ;;
  20. ppc64b)
  21. - install -d "%{install-root}/lib64"
  22. + install -d "%{install-root}/usr/lib64" \
  23. + ln -s "/usr/lib64" "%{install-root}/lib64"\
  24. ln -s "%{prefix}/lib/ld64.so.1" \
  25. "%{install-root}/lib64/ld64.so.1" ;;
  26. *)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement