mirror of
https://github.com/xcat2/xNBA.git
synced 2025-08-29 14:28:20 +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:
@@ -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)
|
||||
|
||||
###############################################################################
|
||||
|
Reference in New Issue
Block a user