浏览代码

[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 年前
父节点
当前提交
7d36a1b7b0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/Makefile.housekeeping

+ 1
- 1
src/Makefile.housekeeping 查看文件

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

正在加载...
取消
保存