]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[build] Explicitly link efilink against -liberty
authorMichael Brown <mcb30@etherboot.org>
Wed, 19 Nov 2008 03:47:03 +0000 (19:47 -0800)
committerMichael Brown <mcb30@etherboot.org>
Wed, 19 Nov 2008 19:24:48 +0000 (19:24 +0000)
On some systems, libbfd is supplied only as a static library; linking
will fail unless -liberty is also specified.

src/Makefile.housekeeping

index 067ac82659c555035edb908cf1e03e18e1e54757..39771e36dfce7b8750639ab2ceab05a91ba01e01 100644 (file)
@@ -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)
 
 ###############################################################################