Skip to content

Commit 58ad65e

Browse files
committed
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.
1 parent 776ec78 commit 58ad65e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Makefile.shlib

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Copyright (c) 1998, Regents of the University of California
77
#
88
# 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 $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -304,6 +304,10 @@ install-lib: install-lib-static install-lib-shared
304304

305305
install-lib-static: lib$(NAME).a
306306
$(INSTALL_STLIB) $< $(DESTDIR)$(libdir)/lib$(NAME).a
307+
ifeq ($(PORTNAME), darwin)
308+
cd $(DESTDIR)$(libdir) && \
309+
ranlib lib$(NAME).a
310+
endif
307311

308312
ifeq ($(enable_shared), yes)
309313
install-lib-shared: $(shlib)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy