summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/Makefile.in2
-rw-r--r--libc/misc/internals/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/Makefile.in b/libc/Makefile.in
index 50201d4fd..f65121c00 100644
--- a/libc/Makefile.in
+++ b/libc/Makefile.in
@@ -45,7 +45,7 @@ lib-a-y += $(top_builddir)lib/libc.a crt-y
lib-so-y += libc-y $(top_builddir)lib/$(NONSHARED_LIBNAME) crt-y
objclean-y += libc_clean
-$(top_builddir)lib/libc.so: $(libc_OUT)/libc_so.a pre-y
+$(top_builddir)lib/libc.so: $(libc_OUT)/libc_so.a $(top_builddir)include/headers_done $(interp)
$(call link.so,$(libc_FULL_NAME),$(MAJOR_VERSION))
$(Q)$(RM) $@
$(Q)echo "/* GNU ld script" > $@
diff --git a/libc/misc/internals/Makefile.in b/libc/misc/internals/Makefile.in
index bfae764e4..8863aba7b 100644
--- a/libc/misc/internals/Makefile.in
+++ b/libc/misc/internals/Makefile.in
@@ -16,7 +16,7 @@ MISC_INTERNALS_OUT:=$(top_builddir)libc/misc/internals
MISC_INTERNALS_SRC:=$(patsubst %.c,$(MISC_INTERNALS_DIR)/%.c,$(CSRC))
MISC_INTERNALS_OBJ:=$(patsubst %.c,$(MISC_INTERNALS_OUT)/%.o,$(CSRC))
-$(MISC_INTERNALS_OUT)/interp.c: headers_root
+$(MISC_INTERNALS_OUT)/interp.c: $(top_builddir)include/headers_done
$(Q)echo "/* Force shared libraries to know about the correct library loader */" > $@
$(Q)echo "#include <features.h>" >> $@
$(Q)echo "#ifdef __HAVE_ELF__" >> $@