diff options
author | Michael Brown | 2010-10-14 23:59:37 +0200 |
---|---|---|
committer | Michael Brown | 2010-10-15 00:01:15 +0200 |
commit | c9aff55320816277391e4379589d284c597c9c26 (patch) | |
tree | 17d1d3a2abe945839f60eac287fbfb10396e1c5d /src/Makefile.housekeeping | |
parent | [linux] Fix building on RHEL5 and similar platforms (diff) | |
download | ipxe-c9aff55320816277391e4379589d284c597c9c26.tar.gz ipxe-c9aff55320816277391e4379589d284c597c9c26.tar.xz ipxe-c9aff55320816277391e4379589d284c597c9c26.zip |
[build] Fix building elf2efi using binutils 2.20
When using binutils 2.20, it seems to be necessary to add -ldl to link
against -lbfd.
Reported-by: Duane Voth <duanev@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r-- | src/Makefile.housekeeping | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 5220b700..c1c388d8 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -918,7 +918,7 @@ CLEANUP += $(ZBIN) ELF2EFI_CFLAGS := -I$(BINUTILS_DIR)/include -I$(BFD_DIR)/include \ -I$(ZLIB_DIR)/include -idirafter include \ -L$(BINUTILS_DIR)/lib -L$(BFD_DIR)/lib -L$(ZLIB_DIR)/lib \ - -lbfd -liberty -lz -Wl,--no-warn-search-mismatch + -lbfd -ldl -liberty -lz -Wl,--no-warn-search-mismatch $(ELF2EFI32) : util/elf2efi.c $(MAKEDEPS) $(QM)$(ECHO) " [HOSTCC] $@" |