Ver código fonte

[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 anos atrás
pai
commit
7d36a1b7b0
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      src/Makefile.housekeeping

+ 1
- 1
src/Makefile.housekeeping Ver arquivo

@@ -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
 ###############################################################################

Carregando…
Cancelar
Salvar