spdlog: fix build on aarch64-darwin
This commit is contained in:
parent
a839c59d4e
commit
aaffbf925c
|
@ -36,7 +36,11 @@ let
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
preCheck = "export LD_LIBRARY_PATH=$(pwd)\${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH";
|
preCheck = if stdenv.isDarwin then ''
|
||||||
|
export DYLD_LIBRARY_PATH="$(pwd)''${DYLD_LIBRARY_PATH:+:}$DYLD_LIBRARY_PATH"
|
||||||
|
'' else ''
|
||||||
|
export LD_LIBRARY_PATH="$(pwd)''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Very fast, header only, C++ logging library";
|
description = "Very fast, header only, C++ logging library";
|
||||||
|
|
Loading…
Reference in a new issue