|
6 | 6 | # Copyright (c) 1998, Regents of the University of California
|
7 | 7 | #
|
8 | 8 | # IDENTIFICATION
|
9 |
| -# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.69 2003/09/14 13:33:08 momjian Exp $ |
| 9 | +# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.70 2003/09/20 21:26:20 tgl Exp $ |
10 | 10 | #
|
11 | 11 | #-------------------------------------------------------------------------
|
12 | 12 |
|
@@ -304,6 +304,10 @@ install-lib: install-lib-static install-lib-shared
|
304 | 304 |
|
305 | 305 | install-lib-static: lib$(NAME).a
|
306 | 306 | $(INSTALL_STLIB) $< $(DESTDIR)$(libdir)/lib$(NAME).a
|
| 307 | +ifeq ($(PORTNAME), darwin) |
| 308 | +cd $(DESTDIR)$(libdir) && \ |
| 309 | +ranlib lib$(NAME).a |
| 310 | +endif |
307 | 311 |
|
308 | 312 | ifeq ($(enable_shared), yes)
|
309 | 313 | install-lib-shared: $(shlib)
|
|