Build src/common files as a library with -fPIC.
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/common/Makefile | modified | +38 −10 |
| src/interfaces/ecpg/compatlib/.gitignore | modified | +0 −4 |
| src/interfaces/ecpg/compatlib/Makefile | modified | +3 −10 |
| src/interfaces/ecpg/ecpglib/.gitignore | modified | +0 −9 |
| src/interfaces/ecpg/ecpglib/Makefile | modified | +4 −23 |
| src/interfaces/ecpg/pgtypeslib/.gitignore | modified | +0 −7 |
| src/interfaces/ecpg/pgtypeslib/Makefile | modified | +2 −18 |
| src/interfaces/libpq/.gitignore | modified | +0 −9 |
| src/interfaces/libpq/Makefile | modified | +8 −14 |
| src/Makefile.global.in | modified | +10 −5 |
| src/port/Makefile | modified | +3 −2 |
Discussion
- pgsql: Build src/port files as a library with -fPIC, and use that in li 15 messages · 2018-09-27 → 2019-03-01
- Let's stop with the retail rebuilds of src/port/ files already 9 messages · 2018-09-26 → 2018-09-28