nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1From 1a217164f8086137ce175da09329745d5ea63027 Mon Sep 17 00:00:00 2001
2From: Jente Hidskes Ankarberg <jente@griffin.sh>
3Date: Tue, 7 Feb 2023 17:17:16 +0100
4Subject: Don't use static Boost libs
5
6We cannot override this in our CMake flags, hence we have to patch it in the source.
7
8---
9 cmake/CompileBoost.cmake | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git cmake/CompileBoost.cmake cmake/CompileBoost.cmake
13index 3bc47c776..62b448421 100644
14--- a/cmake/CompileBoost.cmake
15+++ b/cmake/CompileBoost.cmake
16@@ -85,7 +85,7 @@ if(USE_SANITIZER)
17 endif()
18
19 # since boost 1.72 boost installs cmake configs. We will enforce config mode
20-set(Boost_USE_STATIC_LIBS ON)
21+set(Boost_USE_STATIC_LIBS OFF)
22
23 # Clang and Gcc will have different name mangling to std::call_once, etc.
24 if (UNIX AND CMAKE_CXX_COMPILER_ID MATCHES "Clang$")
25--
262.37.1 (Apple Git-137.1)
27