[packages/capstone] - enhanced libsuffix patch

qboosh qboosh at pld-linux.org
Sat May 23 21:43:55 CEST 2020


commit 02750dffbb25e9325c601458a372fd0aa9a2a9cd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat May 23 21:44:30 2020 +0200

    - 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 ()
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/capstone.git/commitdiff/02750dffbb25e9325c601458a372fd0aa9a2a9cd



More information about the pld-cvs-commit mailing list