mirror of
https://github.com/postgres/postgres.git
synced 2025-04-20 00:42:27 +03:00
Use strip -x on OS/X-darwin because non-"-x" causes link problems:
http://archives.postgresql.org/pgsql-hackers/2007-10/msg01470.php
This commit is contained in:
parent
d009992ba3
commit
58ac0f92c0
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# install - install a program, script, or datafile
|
||||
|
||||
# $PostgreSQL: pgsql/config/install-sh,v 1.4 2006/03/11 04:38:28 momjian Exp $
|
||||
# $PostgreSQL: pgsql/config/install-sh,v 1.5 2007/11/10 16:15:23 momjian Exp $
|
||||
|
||||
scriptversion=2005-02-02.21
|
||||
|
||||
@ -56,7 +56,13 @@ cpprog="${CPPROG-cp}"
|
||||
chmodprog="${CHMODPROG-chmod}"
|
||||
chownprog="${CHOWNPROG-chown}"
|
||||
chgrpprog="${CHGRPPROG-chgrp}"
|
||||
stripprog="${STRIPPROG-strip}"
|
||||
# Darwin normal strip removes symbols from shared libraries
|
||||
# that are later needed for dynamic linking, so use strip -x.
|
||||
# http://archives.postgresql.org/pgsql-hackers/2007-10/msg01470.php
|
||||
if test "$template" = "darwin"
|
||||
then stripprog="${STRIPPROG-strip -x}"
|
||||
else stripprog="${STRIPPROG-strip}"
|
||||
fi
|
||||
rmprog="${RMPROG-rm}"
|
||||
mkdirprog="${MKDIRPROG-mkdir}"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user