Browse Source

[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.
tags/v0.9.6
Michael Brown 16 years ago
parent
commit
7d36a1b7b0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Makefile.housekeeping

+ 1
- 1
src/Makefile.housekeeping View File

@@ -707,7 +707,7 @@ CLEANUP += $(ZBIN)
707 707
 #
708 708
 $(EFILINK) : util/efilink.c $(MAKEDEPS)
709 709
 	$(QM)$(ECHO) "  [HOSTCC] $@"
710
-	$(Q)$(HOST_CC) -O2 -o $@ $< -lbfd
710
+	$(Q)$(HOST_CC) -O2 -o $@ $< -lbfd -liberty
711 711
 CLEANUP += $(EFILINK)
712 712
 
713 713
 ###############################################################################

Loading…
Cancel
Save