File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
# install - install a program, script, or datafile
3
3
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 $
5
5
6
6
scriptversion=2005-02-02.21
7
7
@@ -56,7 +56,13 @@ cpprog="${CPPROG-cp}"
56
56
chmodprog=" ${CHMODPROG-chmod} "
57
57
chownprog=" ${CHOWNPROG-chown} "
58
58
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
+ if test " $template " = " darwin"
63
+ then stripprog=" ${STRIPPROG-strip -x} "
64
+ else stripprog=" ${STRIPPROG-strip} "
65
+ fi
60
66
rmprog=" ${RMPROG-rm} "
61
67
mkdirprog=" ${MKDIRPROG-mkdir} "
62
68
You can’t perform that action at this time.
0 commit comments