libspng: fix cross compile (#343426)

This commit is contained in:
Sandro 2024-10-05 14:54:58 +02:00 committed by GitHub
commit 4ce23bd616
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-BiRuPQEKVJYYgfUsglIuxrBoJBFiQ0ygQmAFrVvCz4Q=";
};
doCheck = true;
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
mesonBuildType = "release";
@ -32,13 +32,15 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
strictDeps = true;
nativeCheckInputs = [
cmake
libpng
];
buildInputs = [
zlib
libpng
];
nativeBuildInputs = [