mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
build-sys: efi - use $EFI_LIB_DIR
https://bugs.freedesktop.org/show_bug.cgi?id=89982
This commit is contained in:
parent
73e21667cb
commit
297f24a902
@ -1191,7 +1191,7 @@ AS_IF([test "x$enable_gnuefi" != "xno"], [
|
||||
AS_HELP_STRING([--with-efi-ldsdir=PATH], [Path to EFI lds directory]),
|
||||
[EFI_LDS_DIR="$withval" && AC_CHECK_FILE([${EFI_LDS_DIR}/elf_${EFI_ARCH}_efi.lds],
|
||||
[have_efi_lds=yes])],
|
||||
[AS_FOR([DIR], [EFI_LDS_DIR], ["${efiroot}/gnuefi" "${efiroot}"],
|
||||
[AS_FOR([DIR], [EFI_LDS_DIR], ["${EFI_LIB_DIR}/gnuefi" "${EFI_LIB_DIR}"],
|
||||
[AC_CHECK_FILE([${EFI_LDS_DIR}/elf_${EFI_ARCH}_efi.lds],
|
||||
[have_efi_lds=yes && break])])])
|
||||
AS_IF([test "x$have_efi_lds" = xyes],
|
||||
|
Loading…
Reference in New Issue
Block a user