2023-07-24 13:39:13 +02:00
|
|
|
Index: libarchive-3.7.0/libarchive/CMakeLists.txt
|
2019-08-22 09:41:07 +02:00
|
|
|
===================================================================
|
2023-07-24 13:39:13 +02:00
|
|
|
--- libarchive-3.7.0.orig/libarchive/CMakeLists.txt
|
|
|
|
+++ libarchive-3.7.0/libarchive/CMakeLists.txt
|
|
|
|
@@ -265,13 +265,13 @@ IF(ENABLE_INSTALL)
|
|
|
|
IF(BUILD_SHARED_LIBS)
|
|
|
|
INSTALL(TARGETS archive
|
|
|
|
RUNTIME DESTINATION bin
|
|
|
|
- LIBRARY DESTINATION lib
|
|
|
|
- ARCHIVE DESTINATION lib)
|
|
|
|
+ LIBRARY DESTINATION lib${LIB_SUFFIX}
|
|
|
|
+ ARCHIVE DESTINATION lib${LIB_SUFFIX})
|
|
|
|
ENDIF(BUILD_SHARED_LIBS)
|
|
|
|
INSTALL(TARGETS archive_static
|
2019-08-22 09:41:07 +02:00
|
|
|
RUNTIME DESTINATION bin
|
|
|
|
- LIBRARY DESTINATION lib
|
|
|
|
- ARCHIVE DESTINATION lib)
|
|
|
|
+ LIBRARY DESTINATION lib${LIB_SUFFIX}
|
|
|
|
+ ARCHIVE DESTINATION lib${LIB_SUFFIX})
|
|
|
|
INSTALL_MAN(${libarchive_MANS})
|
|
|
|
INSTALL(FILES ${include_HEADERS} DESTINATION include)
|
|
|
|
ENDIF()
|
2023-07-24 13:39:13 +02:00
|
|
|
Index: libarchive-3.7.0/build/cmake/CreatePkgConfigFile.cmake
|
2020-05-20 09:01:10 +02:00
|
|
|
===================================================================
|
2023-07-24 13:39:13 +02:00
|
|
|
--- libarchive-3.7.0.orig/build/cmake/CreatePkgConfigFile.cmake
|
|
|
|
+++ libarchive-3.7.0/build/cmake/CreatePkgConfigFile.cmake
|
2020-05-20 09:01:10 +02:00
|
|
|
@@ -29,5 +29,5 @@ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DI
|
|
|
|
# And install it, of course ;).
|
|
|
|
IF(ENABLE_INSTALL)
|
|
|
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/build/pkgconfig/libarchive.pc
|
|
|
|
- DESTINATION "lib/pkgconfig")
|
|
|
|
+ DESTINATION "lib${LIB_SUFFIX}/pkgconfig")
|
|
|
|
ENDIF()
|