summaryrefslogtreecommitdiff
path: root/system/capstone/CMakeLists.txt.patch
blob: 2107c99d1c3a35967e80651e62c5044ccc43f8f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- 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)