Merge pull request #144683 from r-burns/crc32c

crc32c: fix tests on darwin
This commit is contained in:
Thiago Kenji Okada 2021-11-04 22:42:39 -03:00 committed by GitHub
commit 6f8ef1346c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;