Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit58ad65e

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 parent776ec78 commit58ad65e

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)

[8]ページ先頭

©2009-2025 Movatter.jp