diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2014-12-04 07:58:12 -0500 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2014-12-04 07:58:12 -0500 |
commit | 1e95bbc870ccb4dc4ac8d43b0a4ed3661415f148 (patch) | |
tree | a7c22009d10024f75004331d36d87bca24e122b6 /src/backend/access/gist/gistutil.c | |
parent | e86507d7708591804c38de67f8ba5fdb67863810 (diff) | |
download | postgresql-1e95bbc870ccb4dc4ac8d43b0a4ed3661415f148.tar.gz postgresql-1e95bbc870ccb4dc4ac8d43b0a4ed3661415f148.zip |
Fix SHLIB_PREREQS use in contrib, allowing PGXS builds
dblink and postgres_fdw use SHLIB_PREREQS = submake-libpq to build libpq
first. This doesn't work in a PGXS build, because there is no libpq to
build. So just omit setting SHLIB_PREREQS in this case.
Note that PGXS users can still use SHLIB_PREREQS (although it is not
documented). The problem here is only that contrib modules can be built
in-tree or using PGXS, and the prerequisite is only applicable in the
former case.
Commit 6697aa2bc25c83b88d6165340348a31328c35de6 previously attempted to
address this by creating a somewhat fake submake-libpq target in
Makefile.global. That was not the right fix, and it was also done in a
nonportable way, so revert that.
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions