From b20ee706efe1c40b016efe41e1486ef6e10d6880 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 22 Nov 2005 01:44:51 +0000 Subject: rework depends and stripping so that libraries arent rebuilt all the time in a loop --- ldso/libdl/Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ldso') diff --git a/ldso/libdl/Makefile.in b/ldso/libdl/Makefile.in index 56ddb0e1a..f90cee0e4 100644 --- a/ldso/libdl/Makefile.in +++ b/ldso/libdl/Makefile.in @@ -39,7 +39,7 @@ lib-a-$(HAVE_SHARED) += $(top_builddir)lib/libdl.a lib-so-y += $(top_builddir)lib/libdl.so objclean-y += libdl_clean -$(top_builddir)lib/libdl.so: $(libdl_OUT)/libdl_so.a ld-uClibc-y libc-y +$(top_builddir)lib/libdl.so: $(libdl_OUT)/libdl_so.a $(ld-uClibc-y) $(libc-so-dep) $(call link.so,$(libdl_FULL_NAME),$(MAJOR_VERSION)) $(libdl_OUT)/libdl_so.a: $(libdl-so-y) @@ -50,11 +50,13 @@ $(libdl_OUT)/libdl_so.a: $(libdl-so-y) ifeq ($(DOPIC),y) $(top_builddir)lib/libdl.a: $(libdl-a-y:.o=.os) else -$(top_builddir)lib/libdl.a: $(libdl-a-y) +$(top_builddir)lib/libdl.a: $(libdl-a-y) $(libdl_OUT)/libdl_so.a endif $(Q)$(INSTALL) -d $(dir $@) $(Q)$(RM) $@ +ifneq ($(DOPIC),y) $(do_strip) +endif $(do_ar) libdl_clean: -- cgit v1.2.3