summaryrefslogtreecommitdiffstats
path: root/libresolv
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-22 01:44:51 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-22 01:44:51 +0000
commitb20ee706efe1c40b016efe41e1486ef6e10d6880 (patch)
tree50ac361f0276a2b51593471b7a392287211d582f /libresolv
parent28cfdb86441668581d1d8efd11137bb8da9f65a4 (diff)
downloaduClibc-alpine-b20ee706efe1c40b016efe41e1486ef6e10d6880.tar.bz2
uClibc-alpine-b20ee706efe1c40b016efe41e1486ef6e10d6880.tar.xz
rework depends and stripping so that libraries arent rebuilt all the time in a loop
Diffstat (limited to 'libresolv')
-rw-r--r--libresolv/Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/libresolv/Makefile.in b/libresolv/Makefile.in
index f7a474ad4..da699a8ca 100644
--- a/libresolv/Makefile.in
+++ b/libresolv/Makefile.in
@@ -28,7 +28,7 @@ lib-a-y += $(top_builddir)lib/libresolv.a
lib-so-y += $(top_builddir)lib/libresolv.so
objclean-y += libresolv_clean
-$(top_builddir)lib/libresolv.so: $(libresolv_OUT)/libresolv_so.a libc-y
+$(top_builddir)lib/libresolv.so: $(libresolv_OUT)/libresolv_so.a $(libc-so-dep)
$(call link.so,$(libresolv_FULL_NAME),$(MAJOR_VERSION))
$(libresolv_OUT)/libresolv_so.a: $(libresolv-so-y)
@@ -39,11 +39,13 @@ $(libresolv_OUT)/libresolv_so.a: $(libresolv-so-y)
ifeq ($(DOPIC),y)
$(top_builddir)lib/libresolv.a: $(libresolv-a-y:.o=.os)
else
-$(top_builddir)lib/libresolv.a: $(libresolv-a-y)
+$(top_builddir)lib/libresolv.a: $(libresolv-a-y) $(libresolv_OUT)/libresolv_so.a
endif
$(Q)$(INSTALL) -d $(dir $@)
$(Q)$(RM) $@
+ifneq ($(DOPIC),y)
$(do_strip)
+endif
$(do_ar)
libresolv_clean: