libcddb: force malloc and realloc

This needs to be set to avoid having undefined malloc symbol.
This commit is contained in:
Matthew Bauer 2020-04-01 22:25:22 -04:00
parent a1c6dea273
commit bedd47ed4b

View File

@ -10,6 +10,11 @@ stdenv.mkDerivation rec {
buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
configureFlags = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"ac_cv_func_malloc_0_nonnull=yes"
"ac_cv_func_realloc_0_nonnull=yes"
];
doCheck = false; # fails 3 of 5 tests with locale errors
meta = with stdenv.lib; {