fix grub-mount buildability on GNU/kFreeBSD
This commit is contained in:
parent
2a861f38a7
commit
338c7fab9b
2 changed files with 2 additions and 2 deletions
|
@ -223,7 +223,7 @@ program = {
|
||||||
ldadd = libgrubmods.a;
|
ldadd = libgrubmods.a;
|
||||||
ldadd = libgrubkern.a;
|
ldadd = libgrubkern.a;
|
||||||
ldadd = grub-core/gnulib/libgnu.a;
|
ldadd = grub-core/gnulib/libgnu.a;
|
||||||
ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)' '-lfuse';
|
ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) -lfuse';
|
||||||
condition = COND_GRUB_MOUNT;
|
condition = COND_GRUB_MOUNT;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -871,7 +871,7 @@ fi
|
||||||
if test x"$grub_mount_excuse" = x ; then
|
if test x"$grub_mount_excuse" = x ; then
|
||||||
# Check for fuse headers.
|
# Check for fuse headers.
|
||||||
SAVED_CPPFLAGS="$CPPFLAGS"
|
SAVED_CPPFLAGS="$CPPFLAGS"
|
||||||
CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
|
CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26"
|
||||||
AC_CHECK_HEADERS([fuse/fuse.h], [],
|
AC_CHECK_HEADERS([fuse/fuse.h], [],
|
||||||
[grub_mount_excuse=["need FUSE headers"]])
|
[grub_mount_excuse=["need FUSE headers"]])
|
||||||
CPPFLAGS="$SAVED_CPPFLAGS"
|
CPPFLAGS="$SAVED_CPPFLAGS"
|
||||||
|
|
Loading…
Reference in a new issue