diff options
| author | Bruce Momjian | 2020-03-31 18:17:32 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2020-03-31 18:17:32 +0000 |
| commit | 051fd5e0f99b14d7bd76fb800bd077bf394fecd5 (patch) | |
| tree | b942493326a1839d52ea05c6a4c3b1e508e35c85 /src/interfaces/ecpg | |
| parent | 82e801852274e46492b0e160624a850157c677e4 (diff) | |
Allow ecpg to be built stand-alone, allow parallel libpq make
This change defines SHLIB_PREREQS for the libpgport dependency, rather
than using a makefile rule. This was broken in PG 12.
Reported-by: Filip Janus
Discussion: https://postgr.es/m/E5Dc85EGUY4wyG8cjAU0qoEdCJxGK_qhW1s9qSuYq9A@mail.gmail.com
Author: Dagfinn Ilmari Mannsåker (for libpq)
Backpatch-through: 12
Diffstat (limited to 'src/interfaces/ecpg')
| -rw-r--r-- | src/interfaces/ecpg/pgtypeslib/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/pgtypeslib/Makefile b/src/interfaces/ecpg/pgtypeslib/Makefile index 530b580d7c8..ae79ead7a78 100644 --- a/src/interfaces/ecpg/pgtypeslib/Makefile +++ b/src/interfaces/ecpg/pgtypeslib/Makefile @@ -24,6 +24,7 @@ override CFLAGS += $(PTHREAD_CFLAGS) SHLIB_LINK_INTERNAL = -lpgcommon_shlib -lpgport_shlib SHLIB_LINK += $(filter -lintl -lm, $(LIBS)) +SHLIB_PREREQS = submake-libpgport SHLIB_EXPORTS = exports.txt |
