]> granicus.if.org Git - postgresql/commit
Build src/common files as a library with -fPIC.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 Sep 2018 18:28:19 +0000 (14:28 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 Sep 2018 18:28:19 +0000 (14:28 -0400)
commit7143b3e82136d2941b3394168940d895a29b4f36
tree6cd206756ab28e4d76d7d48d073ec0f3cddec8af
parentf7ab802855200df5529a6e1e7b748d7926acace8
Build src/common files as a library with -fPIC.

Build a third version of libpgcommon.a, with -fPIC and -DFRONTEND,
as commit ea53100d5 did for src/port.  Use that in libpq to avoid
symlinking+rebuilding source files retail.

Also adjust ecpg to use the new src/port and src/common libraries.

Arrange to install these libraries, too, to simplify out-of-tree
builds of shared libraries that need any of these modules.

Discussion: https://postgr.es/m/13022.1538003440@sss.pgh.pa.us
Discussion: https://postgr.es/m/E1g5Y8r-0006vs-QA@gemulon.postgresql.org
src/Makefile.global.in
src/common/Makefile
src/interfaces/ecpg/compatlib/.gitignore
src/interfaces/ecpg/compatlib/Makefile
src/interfaces/ecpg/ecpglib/.gitignore
src/interfaces/ecpg/ecpglib/Makefile
src/interfaces/ecpg/pgtypeslib/.gitignore
src/interfaces/ecpg/pgtypeslib/Makefile
src/interfaces/libpq/.gitignore
src/interfaces/libpq/Makefile
src/port/Makefile