Skip to content

Commit

Permalink
[build] Explicitly link efilink against -liberty
Browse files Browse the repository at this point in the history
On some systems, libbfd is supplied only as a static library; linking
will fail unless -liberty is also specified.
  • Loading branch information
Michael Brown committed Nov 19, 2008
1 parent 3f85626 commit 7d36a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile.housekeeping
Expand Up @@ -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)

###############################################################################
Expand Down

0 comments on commit 7d36a1b

Please sign in to comment.