ldns: Enable cross-compilation
This commit is contained in:
parent
8b32cfdbc0
commit
860c81d6f7
@ -40,6 +40,9 @@ stdenv.mkDerivation rec {
|
|||||||
"--with-trust-anchor=${dns-root-data}/root.key"
|
"--with-trust-anchor=${dns-root-data}/root.key"
|
||||||
"--with-drill"
|
"--with-drill"
|
||||||
"--disable-gost"
|
"--disable-gost"
|
||||||
|
] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||||
|
"ac_cv_func_malloc_0_nonnull=yes"
|
||||||
|
"ac_cv_func_realloc_0_nonnull=yes"
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user