summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2008-11-19 04:47:03 +0100
committerMichael Brown2008-11-19 20:24:48 +0100
commit7d36a1b7b031c01d6f20c5a8a1da9897e9d51e7e (patch)
treed9eed7a444f9ca062a9c67726c6b0f867ced0de7
parent[efi] Add efi_strerror() (diff)
downloadipxe-7d36a1b7b031c01d6f20c5a8a1da9897e9d51e7e.tar.gz
ipxe-7d36a1b7b031c01d6f20c5a8a1da9897e9d51e7e.tar.xz
ipxe-7d36a1b7b031c01d6f20c5a8a1da9897e9d51e7e.zip
[build] Explicitly link efilink against -liberty
On some systems, libbfd is supplied only as a static library; linking will fail unless -liberty is also specified.
-rw-r--r--src/Makefile.housekeeping2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index 067ac826..39771e36 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -707,7 +707,7 @@ CLEANUP += $(ZBIN)
#
$(EFILINK) : util/efilink.c $(MAKEDEPS)
$(QM)$(ECHO) " [HOSTCC] $@"
- $(Q)$(HOST_CC) -O2 -o $@ $< -lbfd
+ $(Q)$(HOST_CC) -O2 -o $@ $< -lbfd -liberty
CLEANUP += $(EFILINK)
###############################################################################