0001-build-always-use-lib-instead-of-lib64.patch 941 B

123456789101112131415161718192021222324252627282930313233343536
  1. From 1948dd03d69c1a50e92d7e8868b7d6eabd4873c1 Mon Sep 17 00:00:00 2001
  2. From: Yousong Zhou <yszhou4tech@gmail.com>
  3. Date: Wed, 17 Jun 2015 16:11:31 +0800
  4. Subject: [PATCH 1/7] build: always use /lib instead of /lib64.
  5. * configure.ac: OpenWrt does not use /lib64.
  6. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
  7. ---
  8. configure.ac | 10 +---------
  9. 1 file changed, 1 insertion(+), 9 deletions(-)
  10. diff --git a/configure.ac b/configure.ac
  11. index fd0e310..306b6e2 100644
  12. --- a/configure.ac
  13. +++ b/configure.ac
  14. @@ -25,15 +25,7 @@ dnl If we use /usr as prefix, use /etc for config files
  15. then
  16. sysconfdir="/etc"
  17. fi
  18. - if test ${libdir} = '${exec_prefix}/lib'
  19. - then
  20. - case "$host_cpu" in
  21. - x86_64|ppc64|s390x|sparc64)
  22. - libdir="/lib64" ;;
  23. - *)
  24. - libdir="/lib" ;;
  25. - esac
  26. - fi
  27. + libdir="/lib"
  28. if test ${sbindir} = '${exec_prefix}/sbin'
  29. then
  30. sbindir="/sbin"
  31. --
  32. 1.7.10.4