no-lib-suffix.patch 627 B

123456789101112131415161718
  1. Install in /usr/lib instead of /usr/lib64, even on 64-bit archs
  2. --- a/CMakeLists.txt
  3. +++ b/CMakeLists.txt
  4. @@ -27,11 +27,8 @@
  5. CMAKE_POLICY(SET CMP0003 NEW)
  6. ENDIF(COMMAND CMAKE_POLICY)
  7. -IF(CMAKE_SIZEOF_VOID_P MATCHES "8")
  8. - SET(_INIT_LIB_SUFFIX "64")
  9. -ELSE(CMAKE_SIZEOF_VOID_P MATCHES "8")
  10. - SET(_INIT_LIB_SUFFIX "")
  11. -ENDIF(CMAKE_SIZEOF_VOID_P MATCHES "8")
  12. +# Debian, unlike the FHS, does not use a '64' suffix like 'lib64'
  13. +SET(_INIT_LIB_SUFFIX "")
  14. SET(LIB_SUFFIX ${_INIT_LIB_SUFFIX} CACHE STRING "optional library install directory suffix: 32, 64, none")
  15. #Comment out if relative paths break the link scripts