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 = [
|
cmakeFlags = [
|
||||||
"-DURIPARSER_BUILD_DOCS=OFF"
|
"-DURIPARSER_BUILD_DOCS=OFF"
|
||||||
];
|
] ++ lib.optional (!doCheck) "-DURIPARSER_BUILD_TESTS=OFF";
|
||||||
|
|
||||||
checkInputs = [ gtest ];
|
checkInputs = [ gtest ];
|
||||||
doCheck = stdenv.targetPlatform.system == stdenv.hostPlatform.system;
|
doCheck = stdenv.buildPlatform == stdenv.hostPlatform;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://uriparser.github.io/";
|
homepage = "https://uriparser.github.io/";
|
||||||
|
Loading…
Reference in New Issue
Block a user