libasyncns: override malloc null check in cross
This is needed to build and avoid malloc error.
This commit is contained in:
parent
a656aeb7f1
commit
99355cc2e4
@ -8,6 +8,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0x5b6lcic4cd7q0bx00x93kvpyzl7n2abbgvqbrlzrfb8vknc6jg";
|
||||
};
|
||||
|
||||
configureFlags = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
"ac_cv_func_malloc_0_nonnull=yes"
|
||||
"ac_cv_func_realloc_0_nonnull=yes"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://0pointer.de/lennart/projects/libasyncns/;
|
||||
description = "A C library for Linux/Unix for executing name service queries asynchronously";
|
||||
|
Loading…
Reference in New Issue
Block a user