e2fsprogs: fix cross compilation

This commit is contained in:
Yegor Timoshenko 2019-05-22 13:22:36 +03:00
parent 62f9685a60
commit 7409ec7e1e
No known key found for this signature in database
GPG key ID: B0B0D739BB47A03A

View file

@ -27,9 +27,15 @@ stdenv.mkDerivation rec {
configureFlags =
if stdenv.isLinux then [
"--enable-elf-shlibs" "--enable-symlink-install" "--enable-relative-symlinks"
# libuuid, libblkid, uuidd and fsck are in util-linux-ng (the "libuuid" dependency).
"--disable-libuuid" "--disable-uuidd" "--disable-libblkid" "--disable-fsck"
"--enable-elf-shlibs"
"--enable-symlink-install"
"--enable-relative-symlinks"
"--with-crond-dir=no"
# fsck, libblkid, libuuid and uuidd are in util-linux-ng (the "libuuid" dependency)
"--disable-fsck"
"--disable-libblkid"
"--disable-libuuid"
"--disable-uuidd"
] else [
"--enable-libuuid --disable-e2initrd-helper"
];