mirror of https://github.com/ipxe/ipxe.git
[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.pull/1/head
parent
3f85626fa9
commit
7d36a1b7b0
|
@ -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)
|
||||
|
||||
###############################################################################
|
||||
|
|
Loading…
Reference in New Issue