004-relative-pkg-config-paths.patch 358 B

1234567891011121314
  1. --- a/zlib.pc.cmakein
  2. +++ b/zlib.pc.cmakein
  3. @@ -1,8 +1,8 @@
  4. prefix=@CMAKE_INSTALL_PREFIX@
  5. exec_prefix=@CMAKE_INSTALL_PREFIX@
  6. -libdir=@INSTALL_LIB_DIR@
  7. -sharedlibdir=@INSTALL_LIB_DIR@
  8. -includedir=@INSTALL_INC_DIR@
  9. +libdir=${exec_prefix}/lib
  10. +sharedlibdir=${exec_prefix}/lib
  11. +includedir=${prefix}/include
  12. Name: zlib
  13. Description: zlib compression library