From 68d02d6473eeaa349e4ee5dceef0fcd1ac32aae2 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Sun, 1 Jun 2008 16:49:23 +0000 Subject: A slight improvement over my previous commit which ensured we always rebuild libc when one of the source files changes. Since there are more places which want to depend on $(libc), fix them all to use a new variable $(libc.depend), which contains the filename for which we have a rule. --- libresolv/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libresolv') diff --git a/libresolv/Makefile.in b/libresolv/Makefile.in index 4afff4cdb..f0c9a980a 100644 --- a/libresolv/Makefile.in +++ b/libresolv/Makefile.in @@ -31,9 +31,9 @@ lib-so-y += $(top_builddir)lib/libresolv.so objclean-y += libresolv_clean ifeq ($(DOPIC),y) -$(top_builddir)lib/libresolv.so: $(top_builddir)lib/libresolv.a $(libc) +$(top_builddir)lib/libresolv.so: $(top_builddir)lib/libresolv.a $(libc.depend) else -$(top_builddir)lib/libresolv.so: $(libresolv_OUT)/libresolv_so.a $(libc) +$(top_builddir)lib/libresolv.so: $(libresolv_OUT)/libresolv_so.a $(libc.depend) endif $(call link.so,$(libresolv_FULL_NAME),$(MAJOR_VERSION)) -- cgit v1.2.3