summaryrefslogtreecommitdiff
path: root/libintl/Makefile.in
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 /libintl/Makefile.in
parent28cfdb86441668581d1d8efd11137bb8da9f65a4 (diff)
rework depends and stripping so that libraries arent rebuilt all the time in a loop
Diffstat (limited to 'libintl/Makefile.in')
-rw-r--r--libintl/Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/libintl/Makefile.in b/libintl/Makefile.in
index 3fa075994..d27cd8147 100644
--- a/libintl/Makefile.in
+++ b/libintl/Makefile.in
@@ -37,7 +37,7 @@ lib-a-$(UCLIBC_HAS_GETTEXT_AWARENESS) += $(top_builddir)lib/libintl.a
lib-so-$(UCLIBC_HAS_GETTEXT_AWARENESS) += $(top_builddir)lib/libintl.so
objclean-y += libintl_clean
-$(top_builddir)lib/libintl.so: $(libintl_OUT)/libintl_so.a libc-y
+$(top_builddir)lib/libintl.so: $(libintl_OUT)/libintl_so.a $(libc-so-dep)
$(call link.so,$(libintl_FULL_NAME),$(MAJOR_VERSION))
$(libintl_OUT)/libintl_so.a: $(libintl-so-y)
@@ -48,11 +48,13 @@ $(libintl_OUT)/libintl_so.a: $(libintl-so-y)
ifeq ($(DOPIC),y)
$(top_builddir)lib/libintl.a: $(libintl-a-y:.o=.os)
else
-$(top_builddir)lib/libintl.a: $(libintl-a-y)
+$(top_builddir)lib/libintl.a: $(libintl-a-y) $(libintl_OUT)/libintl_so.a
endif
$(Q)$(INSTALL) -d $(dir $@)
$(Q)$(RM) $@
+ifneq ($(DOPIC),y)
$(do_strip)
+endif
$(do_ar)
$(libintl_MOBJ): $(libintl_MSRC)