Fix build: configure postgres in vendor/postgres directory for postgres_ffi

This commit is contained in:
anastasia
2021-04-13 22:11:49 +03:00
committed by Heikki Linnakangas
parent b451ede199
commit c5d56ffe22

View File

@@ -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