fuse: Add Aarch64 patch from upstream git to fix build
See e.g. https://bugs.launchpad.net/linaro-oe/+bug/1087757
This commit is contained in:
parent
fcc51d3256
commit
8999ab9e56
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, utillinux
|
{ stdenv, fetchFromGitHub, fetchpatch, utillinux
|
||||||
, autoconf, automake, libtool, gettext }:
|
, autoconf, automake, libtool, gettext }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [ utillinux autoconf automake libtool gettext ];
|
buildInputs = [ utillinux autoconf automake libtool gettext ];
|
||||||
|
|
||||||
|
patches = stdenv.lib.optional stdenv.isAarch64 (fetchpatch {
|
||||||
|
url = "https://github.com/libfuse/libfuse/commit/914871b20a901e3e1e981c92bc42b1c93b7ab81b.patch";
|
||||||
|
sha256 = "1w4j6f1awjrycycpvmlv0x5v9gprllh4dnbjxl4dyl2jgbkaw6pa";
|
||||||
|
});
|
||||||
|
|
||||||
preConfigure =
|
preConfigure =
|
||||||
''
|
''
|
||||||
export MOUNT_FUSE_PATH=$out/sbin
|
export MOUNT_FUSE_PATH=$out/sbin
|
||||||
|
|
Loading…
Reference in New Issue