From 02750dffbb25e9325c601458a372fd0aa9a2a9cd Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sat, 23 May 2020 21:44:30 +0200 Subject: [PATCH] - enhanced libsuffix patch --- capstone-libsuffix.patch | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/capstone-libsuffix.patch b/capstone-libsuffix.patch index 574b10f..399ff4e 100644 --- a/capstone-libsuffix.patch +++ b/capstone-libsuffix.patch @@ -16,3 +16,10 @@ set(INSTALL_LIB_DIR lib${LIBSUFFIX} CACHE PATH "Installation directory for libraries") mark_as_advanced(INSTALL_LIB_DIR) +@@ -603,5 +603,5 @@ + target_link_libraries(cstool ${default-target}) + + install(TARGETS cstool DESTINATION bin) +-install(FILES ${CMAKE_BINARY_DIR}/capstone.pc DESTINATION lib/pkgconfig) ++install(FILES ${CMAKE_BINARY_DIR}/capstone.pc DESTINATION lib${LIBSUFFIX}/pkgconfig) + endif () -- 2.44.0