spdlog: #define SPDLOG_FMT_EXTERNAL

This is required for the headers to work properly.
This commit is contained in:
Emily
2024-11-20 02:33:34 +00:00
parent 693a0eaede
commit 032868bd50
+5
View File
@@ -41,6 +41,11 @@ stdenv.mkDerivation rec {
postInstall = ''
mkdir -p $out/share/doc/spdlog
cp -rv ../example $out/share/doc/spdlog
substituteInPlace $dev/include/spdlog/tweakme.h \
--replace-fail \
'// #define SPDLOG_FMT_EXTERNAL' \
'#define SPDLOG_FMT_EXTERNAL'
'';
doCheck = true;