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 = configureFlags =
if stdenv.isLinux then [ if stdenv.isLinux then [
"--enable-elf-shlibs" "--enable-symlink-install" "--enable-relative-symlinks" "--enable-elf-shlibs"
# libuuid, libblkid, uuidd and fsck are in util-linux-ng (the "libuuid" dependency). "--enable-symlink-install"
"--disable-libuuid" "--disable-uuidd" "--disable-libblkid" "--disable-fsck" "--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 [ ] else [
"--enable-libuuid --disable-e2initrd-helper" "--enable-libuuid --disable-e2initrd-helper"
]; ];