Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #288 from LiskHQ/284-postgres-libreadline7
Browse files Browse the repository at this point in the history
Update Postgres to 9.6.8, backport libreadline7 changes - Closes #284
  • Loading branch information
Nazgolze authored Jun 12, 2018
2 parents 020df65 + d4da218 commit 9b8f9f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ if [ ! -f "$POSTGRESQL_DIR/$POSTGRESQL_OUT/bin/psql" ]; then

# Configures make for libreadline7 on linux, without for Darwin
if [ ! "$(uname -s)" == "Darwin" ]; then
exec_cmd "./configure --prefix=$(pwd)/$POSTGRESQL_OUT --with-libs=../$LIBREADLINE_DIR/out/lib --with-includes=../$LIBREADLINE_DIR/out/include"
exec_cmd "./configure --prefix=$(pwd)/$POSTGRESQL_OUT --with-libraries=$(pwd)/../$LIBREADLINE_DIR/out/lib --with-includes=$(pwd)/../$LIBREADLINE_DIR/out/include"
exec_cmd "make"
else
exec_cmd "./configure --prefix=$(pwd)/$POSTGRESQL_OUT"
fi

exec_cmd "make --jobs=$JOBS"
exec_cmd "make install"

# Compiles the pgcrypto extension
Expand Down
4 changes: 2 additions & 2 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ NODE_URL="https://nodejs.org/download/release/v6.12.3/$NODE_FILE"
NODE_OUT="compiled"
NODE_CONFIG=""

POSTGRESQL_DIR="postgresql-9.6.6"
POSTGRESQL_DIR="postgresql-9.6.8"
POSTGRESQL_FILE="$POSTGRESQL_DIR.tar.gz"
POSTGRESQL_URL="https://ftp.postgresql.org/pub/source/v9.6.6/$POSTGRESQL_FILE"
POSTGRESQL_URL="https://ftp.postgresql.org/pub/source/v9.6.8/$POSTGRESQL_FILE"
POSTGRESQL_OUT="pgsql"

SODIUM_DIR="libsodium-1.0.11"
Expand Down

0 comments on commit 9b8f9f5

Please sign in to comment.