Src: https://build.opensuse.org/request/show/1118582
By Martin Liška <martin.liska@hey.com>

From a1e10884ddc6468448f9337c106008cb2e7ba10a Mon Sep 17 00:00:00 2001
From: jchzhou <zhoujiacheng@iscas.ac.cn>
Date: Wed, 17 Jul 2024 17:34:43 +0800
Subject: [PATCH] build blake3 as static

Signed-off-by: jchzhou <zhoujiacheng@iscas.ac.cn>
---
 third-party/blake3/c/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/third-party/blake3/c/CMakeLists.txt b/third-party/blake3/c/CMakeLists.txt
index 3a3b232..6550bbc 100644
--- a/third-party/blake3/c/CMakeLists.txt
+++ b/third-party/blake3/c/CMakeLists.txt
@@ -42,7 +42,7 @@ elseif(CMAKE_C_COMPILER_ID STREQUAL "GNU"
 endif()
 
 # library target
-add_library(blake3
+add_library(blake3 STATIC
   blake3.c
   blake3_dispatch.c
   blake3_portable.c
-- 
2.45.2

