sshfs-fuse: Fix the build on i686-linux
The last upgrade (137142a72cd6ef96b227dd0f1164504abf5546f1) broke the build on i686. Thanks @globin for noticing this.
This commit is contained in:
parent
ab71280823
commit
6f02c3bf77
@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ pkgconfig glib fuse3 autoreconfHook ];
|
buildInputs = [ pkgconfig glib fuse3 autoreconfHook ];
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = stdenv.lib.optional
|
||||||
|
(stdenv.system == "i686-linux")
|
||||||
|
"-D_FILE_OFFSET_BITS=64";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/sbin
|
mkdir -p $out/sbin
|
||||||
ln -sf $out/bin/sshfs $out/sbin/mount.sshfs
|
ln -sf $out/bin/sshfs $out/sbin/mount.sshfs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user