File 3009-disable-crypto.patch of Package ceph-ceph-19.2.0

diff --git a/src/os/CMakeLists.txt b/src/os/CMakeLists.txt
index 1cd85d3b213..29b114c7f56 100644
--- a/src/os/CMakeLists.txt
+++ b/src/os/CMakeLists.txt
@@ -81,8 +81,9 @@ endif()
 target_link_libraries(os kv)
 
 add_dependencies(os compressor_plugins)
-add_dependencies(os crypto_plugins)
-
+if(HAVE_INTEL AND HAVE_BETTER_YASM_ELF64 AND (NOT APPLE))
+    add_dependencies(os crypto_plugins)
+endif()
 
 if(WITH_BLUESTORE)
   add_executable(ceph-bluestore-tool
openSUSE Build Service is sponsored by