mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-23 01:51:58 +00:00
[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.
This commit is contained in:
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
Block a user