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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user