diff options
author | Tom Lane | 2003-09-20 21:26:20 +0000 |
---|---|---|
committer | Tom Lane | 2003-09-20 21:26:20 +0000 |
commit | 58ad65ec2defe64b0e1f09e93b8251d6c4ef8878 (patch) | |
tree | 6c85b947908e2ad11d8094b63f693bf9294d8bfe | |
parent | 776ec78e9d9852e6b87f0d4db2da3683e2165b74 (diff) |
Apply ranlib(1) after installing a static (.a) library on Darwin.
Per past complaints --- verified to still be a problem on OS X 10.2.6.
-rw-r--r-- | src/Makefile.shlib | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib index 093bd91e861..ca712a4d46b 100644 --- a/src/Makefile.shlib +++ b/src/Makefile.shlib @@ -6,7 +6,7 @@ # Copyright (c) 1998, Regents of the University of California # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.69 2003/09/14 13:33:08 momjian Exp $ +# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.70 2003/09/20 21:26:20 tgl Exp $ # #------------------------------------------------------------------------- @@ -304,6 +304,10 @@ install-lib: install-lib-static install-lib-shared install-lib-static: lib$(NAME).a $(INSTALL_STLIB) $< $(DESTDIR)$(libdir)/lib$(NAME).a +ifeq ($(PORTNAME), darwin) + cd $(DESTDIR)$(libdir) && \ + ranlib lib$(NAME).a +endif ifeq ($(enable_shared), yes) install-lib-shared: $(shlib) |