summaryrefslogtreecommitdiff
path: root/0002-src-common-CMakeLists.txt.patch
diff options
context:
space:
mode:
Diffstat (limited to '0002-src-common-CMakeLists.txt.patch')
-rw-r--r--0002-src-common-CMakeLists.txt.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/0002-src-common-CMakeLists.txt.patch b/0002-src-common-CMakeLists.txt.patch
new file mode 100644
index 0000000..e3252b3
--- /dev/null
+++ b/0002-src-common-CMakeLists.txt.patch
@@ -0,0 +1,13 @@
+diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
+index 65ba10b0f1..eeedc29c37 100644
+--- a/src/common/CMakeLists.txt
++++ b/src/common/CMakeLists.txt
+@@ -165,7 +165,7 @@ elseif(HAVE_ARMV8_CRC)
+ crc32c_aarch64.c)
+ endif(HAVE_INTEL)
+
+-add_library(crc32 ${crc32_srcs})
++add_library(crc32 STATIC ${crc32_srcs})
+ if(HAVE_ARMV8_CRC)
+ set_target_properties(crc32 PROPERTIES
+ COMPILE_FLAGS "${CMAKE_C_FLAGS} ${ARMV8_CRC_COMPILE_FLAGS}")