diff --git a/pgbuild.sh b/pgbuild.sh index 9d4c0baa65..8ba1e2cbf9 100755 --- a/pgbuild.sh +++ b/pgbuild.sh @@ -31,3 +31,9 @@ export DESTDIR=$REPO_ROOT/tmp_install echo "Installing postgres to $DESTDIR" make install -s + +#Configure postgres in src directory. We need it for postgres_ffi build +echo "Configuring postgres build in place" +cd ../../vendor/postgres/ +./configure CFLAGS='-O0' --enable-debug --enable-cassert \ + --enable-depend --with-libxml --prefix=/ > configure.log \ No newline at end of file