mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
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 {
|
||||
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 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user