diff options
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 6713e036ad..79f6ddfca3 100644 --- a/configure.ac +++ b/configure.ac @@ -1177,7 +1177,7 @@ AS_IF([test "x$enable_gnuefi" != "xno"], [ [AC_MSG_ERROR([*** gnuefi support requested but headers not found])]) ]) - efiroot=$(echo $(cd /usr/lib/$(gcc -print-multi-os-directory); pwd)) + efiroot=$(echo $(cd /usr/lib/$(${EFI_CC} -print-multi-os-directory); pwd)) EFI_LIB_DIR="$efiroot" AC_ARG_WITH(efi-libdir, |