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

Commit58ac0f9

Browse files
committed
Use strip -x on OS/X-darwin because non-"-x" causes link problems:
http://archives.postgresql.org/pgsql-hackers/2007-10/msg01470.php
1 parentd009992 commit58ac0f9

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

‎config/install-sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
# install - install a program, script, or datafile
33

4-
# $PostgreSQL: pgsql/config/install-sh,v 1.4 2006/03/11 04:38:28 momjian Exp $
4+
# $PostgreSQL: pgsql/config/install-sh,v 1.5 2007/11/10 16:15:23 momjian Exp $
55

66
scriptversion=2005-02-02.21
77

@@ -56,7 +56,13 @@ cpprog="${CPPROG-cp}"
5656
chmodprog="${CHMODPROG-chmod}"
5757
chownprog="${CHOWNPROG-chown}"
5858
chgrpprog="${CHGRPPROG-chgrp}"
59-
stripprog="${STRIPPROG-strip}"
59+
# Darwin normal strip removes symbols from shared libraries
60+
# that are later needed for dynamic linking, so use strip -x.
61+
# http://archives.postgresql.org/pgsql-hackers/2007-10/msg01470.php
62+
iftest"$template" ="darwin"
63+
thenstripprog="${STRIPPROG-strip -x}"
64+
elsestripprog="${STRIPPROG-strip}"
65+
fi
6066
rmprog="${RMPROG-rm}"
6167
mkdirprog="${MKDIRPROG-mkdir}"
6268

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp