fuse: Fix cross-compilation
This commit is contained in:
parent
c0e814a434
commit
ed5bd8ad49
@ -4,6 +4,7 @@
|
|||||||
, fusePackages, utillinux, gettext
|
, fusePackages, utillinux, gettext
|
||||||
, autoconf, automake, libtool
|
, autoconf, automake, libtool
|
||||||
, meson, ninja, pkgconfig
|
, meson, ninja, pkgconfig
|
||||||
|
, autoreconfHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -18,6 +19,8 @@ in stdenv.mkDerivation rec {
|
|||||||
sha256 = sha256Hash;
|
sha256 = sha256Hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
preAutoreconf = "touch config.rpath";
|
||||||
|
|
||||||
patches =
|
patches =
|
||||||
stdenv.lib.optional
|
stdenv.lib.optional
|
||||||
(!isFuse3 && stdenv.isAarch64)
|
(!isFuse3 && stdenv.isAarch64)
|
||||||
@ -30,8 +33,7 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = if isFuse3
|
nativeBuildInputs = if isFuse3
|
||||||
then [ meson ninja pkgconfig ]
|
then [ meson ninja pkgconfig ]
|
||||||
else [ autoconf automake libtool ];
|
else [ autoreconfHook gettext ];
|
||||||
buildInputs = stdenv.lib.optional (!isFuse3) gettext;
|
|
||||||
|
|
||||||
outputs = [ "out" ] ++ stdenv.lib.optional isFuse3 "common";
|
outputs = [ "out" ] ++ stdenv.lib.optional isFuse3 "common";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user