botan: fix cross compilation on aarch64

Signed-off-by: Markus Theil <theil.markus@gmail.com>

+3 -2
+3 -2
pkgs/development/libraries/botan/generic.nix
··· 29 patches = extraPatches; 30 inherit postPatch; 31 32 - buildInputs = [ python3 bzip2 zlib gmp boost ] 33 ++ lib.optionals stdenv.isDarwin [ CoreServices Security ]; 34 35 configurePhase = '' 36 runHook preConfigure 37 - python configure.py --prefix=$out --with-bzip2 --with-zlib ${extraConfigureFlags}${lib.optionalString stdenv.cc.isClang " --cc=clang"} 38 runHook postConfigure 39 ''; 40
··· 29 patches = extraPatches; 30 inherit postPatch; 31 32 + nativeBuildInputs = [ python3 ]; 33 + buildInputs = [ bzip2 zlib gmp boost ] 34 ++ lib.optionals stdenv.isDarwin [ CoreServices Security ]; 35 36 configurePhase = '' 37 runHook preConfigure 38 + python configure.py --prefix=$out --with-bzip2 --with-zlib ${extraConfigureFlags}${lib.optionalString stdenv.cc.isClang " --cc=clang"} ${lib.optionalString stdenv.hostPlatform.isAarch64 " --cpu=aarch64"} 39 runHook postConfigure 40 ''; 41