aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2008-11-18 19:47:03 -0800
committerMichael Brown <mcb30@etherboot.org>2008-11-19 19:24:48 +0000
commit7d36a1b7b031c01d6f20c5a8a1da9897e9d51e7e (patch)
treed9eed7a444f9ca062a9c67726c6b0f867ced0de7
parent3f85626fa95cb356a655d3538db6f05231f07003 (diff)
downloadipxe-7d36a1b7b031c01d6f20c5a8a1da9897e9d51e7e.zip
ipxe-7d36a1b7b031c01d6f20c5a8a1da9897e9d51e7e.tar.gz
ipxe-7d36a1b7b031c01d6f20c5a8a1da9897e9d51e7e.tar.bz2
[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 067ac82..39771e3 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)
###############################################################################