zvbi: fix cross to musl

As with several other packages, we have to tell autoconf to please
assume malloc works properly.
This commit is contained in:
Alyssa Ross
2025-05-02 13:38:49 +02:00
parent f02fddb8ac
commit a1cb628cce
+5
View File
@@ -21,6 +21,11 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-knc9PejugU6K4EQflfz91keZr3ZJqZu2TKFQFFJrxiI=";
};
configureFlags = lib.optionals (!lib.systems.equals stdenv.buildPlatform stdenv.hostPlatform) [
"ac_cv_func_malloc_0_nonnull=yes"
"ac_cv_func_realloc_0_nonnull=yes"
];
nativeBuildInputs = [
autoreconfHook
validatePkgConfig