From f7bd11657bf85ed87784e2a461f281e03f5d049e Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Sun, 9 Sep 2007 06:51:39 +0000 Subject: [PATCH] Static libraries become out of date on Darwin once they are copied or moved git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1440 fd59a12c-fef9-0310-b244-a6a79926bd2f --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 202dca23..efa53567 100644 --- a/Makefile +++ b/Makefile @@ -105,6 +105,9 @@ install: all install -m 755 lib/lib$$aLib.so.2.* $(DESTDIR)$(LIBDIR); \ if [ "xNO" = "x$(STATICLIBS)" ]; then \ install -m 755 lib/lib$$aLib.a $(DESTDIR)$(LIBDIR); \ + if [ ${OPENAIS_COMPAT} = "DARWIN" ]; then \ + ranlib $(DESTDIR)$(LIBDIR)/lib$$aLib.a; \ + fi \ fi \ done