summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2002-11-26 23:05:56 +0000
committerwtc%netscape.com <devnull@localhost>2002-11-26 23:05:56 +0000
commit509484ba472c47e6ca4158fb84f55f1250763106 (patch)
tree53d9f9f19fc4d64702e72763ea21392a11939e9e
parentd3806c3918c8baf84bc6ca778ffdb7962726e7c1 (diff)
downloadnss-hg-509484ba472c47e6ca4158fb84f55f1250763106.tar.gz
Bug 182086: on Mac OS X, ranlib needs to be rerun after static libraries
are moved.
-rw-r--r--security/coreconf/rules.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/coreconf/rules.mk b/security/coreconf/rules.mk
index f287f620e..9ef3312e0 100644
--- a/security/coreconf/rules.mk
+++ b/security/coreconf/rules.mk
@@ -87,6 +87,10 @@ import::
"$(XPHEADER_JAR)=$(IMPORT_XP_DIR)|$(SOURCE_XP_DIR)/public/|v" \
"$(MDHEADER_JAR)=$(IMPORT_MD_DIR)|$(SOURCE_MD_DIR)/include|" \
"$(MDBINARY_JAR)=$(IMPORT_MD_DIR)|$(SOURCE_MD_DIR)|"
+# On Mac OS X ranlib needs to be rerun after static libs are moved.
+ifeq ($(OS_TARGET),Darwin)
+ find $(SOURCE_MD_DIR)/lib -name "*.a" -exec $(RANLIB) {} \;
+endif
export::
+$(LOOP_OVER_DIRS)