libb2: fix build on ARM

This commit is contained in:
Robert Schütz
2018-05-13 20:09:00 +03:00
committed by Tuomas Tynkkynen
parent 03318efe09
commit 409b97c95f
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, autoconf, automake, libtool }:
{ stdenv, hostPlatform, fetchurl, autoconf, automake, libtool }:
stdenv.mkDerivation rec {
name = "libb2-${version}";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
./autogen.sh
'';
configureFlags = [ "--enable-fat=yes" ];
configureFlags = stdenv.lib.optional hostPlatform.isx86 "--enable-fat=yes";
nativeBuildInputs = [ autoconf automake libtool ];