summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2015-04-21 19:47:00 +0200
committerKay Sievers <kay@vrfy.org>2015-04-21 19:48:24 +0200
commit297f24a902110921a0627b40372ed2332229b706 (patch)
treef44e12f3104950d1770c2295d87e67298e6955d5
parent73e21667cb1de345ec8560f8f567f83ab467315d (diff)
build-sys: efi - use $EFI_LIB_DIR
https://bugs.freedesktop.org/show_bug.cgi?id=89982
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4ff70950f2..fbb437eaa2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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],