ldns: Enable cross-compilation

This commit is contained in:
Ben Gamari 2018-02-25 14:42:23 -05:00 committed by John Ericson
parent 8b32cfdbc0
commit 860c81d6f7

View File

@ -40,6 +40,9 @@ stdenv.mkDerivation rec {
"--with-trust-anchor=${dns-root-data}/root.key"
"--with-drill"
"--disable-gost"
] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"ac_cv_func_malloc_0_nonnull=yes"
"ac_cv_func_realloc_0_nonnull=yes"
];
postInstall = ''