Skip to content

Commit e71141c

Browse files
committed
postgresql-10: fix static
1 parent 551db7b commit e71141c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

postgresql-10/build.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/bash -e
22

33
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
44
cd ${DIR}
@@ -21,7 +21,10 @@ tar xjf postgresql-${VERSION}.tar.bz2
2121
cd postgresql-${VERSION}
2222
rm -rf ${PREFIX}
2323

24-
./configure --prefix ${PREFIX} LDFLAGS=-static
24+
./configure --prefix ${PREFIX}
25+
make world
26+
make install
27+
./configure --prefix ${PREFIX} LDFLAGS=-static --disable-shared
2528
make world
2629
make install
2730

0 commit comments

Comments
 (0)