File 0001-build-dynamically-link-libdict.patch of Package bngblaster
From 877fd6a962bd5de174be3fce93ca714f03a8c06e Mon Sep 17 00:00:00 2001
From: Martin Hauke <mardnh@gmx.de>
Date: Tue, 4 Oct 2022 21:04:03 +0200
Subject: [PATCH] build: dynamically link libdict
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f4d7083..c80e34a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,8 +29,8 @@ if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set(CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "..." FORCE)
endif()
-# libdict will be statically linked
-find_library(libdict NAMES libdict.a REQUIRED)
+# libdict will be dynamically linked
+find_library(libdict NAMES dict REQUIRED)
if(BNGBLASTER_TESTS)
include(CTest)
--
2.37.3