From 7d36a1b7b031c01d6f20c5a8a1da9897e9d51e7e Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 18 Nov 2008 19:47:03 -0800 Subject: [PATCH] [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. --- src/Makefile.housekeeping | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 067ac826..39771e36 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -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) ###############################################################################