libb2: fix build on ARM
This commit is contained in:
parent
03318efe09
commit
409b97c95f
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, autoconf, automake, libtool }:
|
{ stdenv, hostPlatform, fetchurl, autoconf, automake, libtool }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libb2-${version}";
|
name = "libb2-${version}";
|
||||||
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
./autogen.sh
|
./autogen.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [ "--enable-fat=yes" ];
|
configureFlags = stdenv.lib.optional hostPlatform.isx86 "--enable-fat=yes";
|
||||||
|
|
||||||
nativeBuildInputs = [ autoconf automake libtool ];
|
nativeBuildInputs = [ autoconf automake libtool ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user