mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
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 New Issue
Block a user