slackbuilds_ponce/system/capstone/CMakeLists.txt.patch
David Spencer f74811213b system/capstone: Fixed build on 32 bit.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2017-08-05 07:07:26 +07:00

22 lines
744 B
Diff

--- CMakeLists.txt 2017-04-17 07:31:11.000000000 -0600
+++ CMakeLists_new.txt 2017-07-31 17:02:55.478190634 +0100
@@ -466,15 +466,15 @@
if (CAPSTONE_BUILD_STATIC)
install(TARGETS capstone-static
RUNTIME DESTINATION bin
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib)
+ LIBRARY DESTINATION lib${LIB_SUFFIX}
+ ARCHIVE DESTINATION lib${LIB_SUFFIX})
endif ()
if (CAPSTONE_BUILD_SHARED)
install(TARGETS capstone-shared
RUNTIME DESTINATION bin
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib)
+ LIBRARY DESTINATION lib${LIB_SUFFIX}
+ ARCHIVE DESTINATION lib${LIB_SUFFIX})
endif ()
if (CAPSTONE_BUILD_SHARED)