Merge pull request #155374 from helsinki-systems/fix/uriparser-cross
uriparser: Fix cross building
This commit is contained in:
commit
51ba620724
@ -14,10 +14,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cmakeFlags = [
|
||||
"-DURIPARSER_BUILD_DOCS=OFF"
|
||||
];
|
||||
] ++ lib.optional (!doCheck) "-DURIPARSER_BUILD_TESTS=OFF";
|
||||
|
||||
checkInputs = [ gtest ];
|
||||
doCheck = stdenv.targetPlatform.system == stdenv.hostPlatform.system;
|
||||
doCheck = stdenv.buildPlatform == stdenv.hostPlatform;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://uriparser.github.io/";
|
||||
|
Loading…
Reference in New Issue
Block a user