Merge pull request #57825 from illegalprime/fix/autossh-cross

autossh: fix for cross compilation
This commit is contained in:
Jörg Thalheim 2019-03-24 06:35:48 +00:00 committed by GitHub
commit 6158b9ef7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,12 @@ stdenv.mkDerivation rec {
sha256 = "0xqjw8df68f4kzkns5gcah61s5wk0m44qdk2z1d6388w6viwxhsz"; sha256 = "0xqjw8df68f4kzkns5gcah61s5wk0m44qdk2z1d6388w6viwxhsz";
}; };
buildInputs = [ openssh ]; preConfigure = ''
export ac_cv_func_malloc_0_nonnull=yes
export ac_cv_func_realloc_0_nonnull=yes
'';
nativeBuildInputs = [ openssh ];
installPhase = installPhase =
'' ''