Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dockerfile build-dependencies. (#37)
Now that we're using $(shell $(PG_CONFIG) --libs) to have the list of librairies we depend on, we must align the build dependencies of pg_auto_failover with the Postgres build dependencies on the platform where we build. In debian, that means having build dependencies towards readline support (that's libedit), pam, zlib, xml, xstl, and selinux. Also, switch to using `pg_config --ldflags`, which is supposed to be right on all platforms. From local tests it seems like we still need --pkglibdir at least when building on debian (make build-test does that in a docker container). See #34.
- Loading branch information