mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
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.
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
# Copyright (c) 1998, Regents of the University of California
|
# Copyright (c) 1998, Regents of the University of California
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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-lib-static: lib$(NAME).a
|
||||||
$(INSTALL_STLIB) $< $(DESTDIR)$(libdir)/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)
|
ifeq ($(enable_shared), yes)
|
||||||
install-lib-shared: $(shlib)
|
install-lib-shared: $(shlib)
|
||||||
|
Reference in New Issue
Block a user