mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
crc32c: fix tests on darwin
Fix test library loading by enabling build-time rpath
This commit is contained in:
parent
8aba57cfc9
commit
3da7e765cd
@ -29,6 +29,8 @@ stdenv.mkDerivation rec {
|
||||
"-DCRC32C_BUILD_BENCHMARKS=0"
|
||||
"-DCRC32C_USE_GLOG=0"
|
||||
"-DBUILD_SHARED_LIBS=${if staticOnly then "0" else "1"}"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
"-DCMAKE_SKIP_BUILD_RPATH=OFF" # for tests
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
Loading…
Reference in New Issue
Block a user