aboutsummaryrefslogtreecommitdiff
path: root/gold/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gold/Makefile.am')
-rw-r--r--gold/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/Makefile.am b/gold/Makefile.am
index 11476f8..1710aa6 100644
--- a/gold/Makefile.am
+++ b/gold/Makefile.am
@@ -86,8 +86,8 @@ deps_var = libgold.a $(LIBINTL_DEP)
ldadd_var = libgold.a $(LIBINTL)
ld_new_SOURCES = $(sources_var)
-ld_new_DEPENDENCIES = $(deps_var)
-ld_new_LDADD = $(ldadd_var)
+ld_new_DEPENDENCIES = $(deps_var) $(LIBOBJS)
+ld_new_LDADD = $(ldadd_var) $(LIBOBJS)
# Use an explicit dependency for the bison generated header file.
script.$(OBJEXT): yyscript.h