File libcorrect-cmake-libsuffix.diff of Package libcorrect
Index: libcorrect-0.0.0+git.20181010/CMakeLists.txt
===================================================================
--- libcorrect-0.0.0+git.20181010.orig/CMakeLists.txt
+++ libcorrect-0.0.0+git.20181010/CMakeLists.txt
@@ -86,7 +86,7 @@ add_subdirectory(tools)
# add_subdirectory(benchmarks)
install(TARGETS correct correct_static
- DESTINATION lib)
+ DESTINATION lib${LIB_SUFFIX})
install(FILES ${INSTALL_HEADERS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include")
add_library(fec_shim_static EXCLUDE_FROM_ALL src/fec_shim.c ${correct_obj_files})
@@ -97,6 +97,6 @@ add_custom_target(fec-shim-h COMMAND ${C
add_custom_target(shim DEPENDS fec_shim_static fec_shim_shared fec-shim-h)
install(TARGETS fec_shim_static fec_shim_shared
- DESTINATION lib
+ DESTINATION lib${LIB_SUFFIX}
OPTIONAL)
install(FILES ${PROJECT_BINARY_DIR}/include/fec.h DESTINATION "${CMAKE_INSTALL_PREFIX}/include" OPTIONAL)