diff options
author | CoprDistGit <infra@openeuler.org> | 2024-07-05 13:26:49 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-07-05 13:26:49 +0000 |
commit | bbe2336533e92e1d45903a10422e5d8bb38d46d8 (patch) | |
tree | 1dd3991fe20aedb65e94fd2b680507f5e23da852 /postgresql-external-libpq.patch | |
parent | ce92b1d6b55661459c9ba8d7f30c3d63cf0fe81a (diff) |
automatic import of postgresqlopeneuler22.03_LTS_SP4
Diffstat (limited to 'postgresql-external-libpq.patch')
-rw-r--r-- | postgresql-external-libpq.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/postgresql-external-libpq.patch b/postgresql-external-libpq.patch new file mode 100644 index 0000000..ba7ef73 --- /dev/null +++ b/postgresql-external-libpq.patch @@ -0,0 +1,43 @@ +We don't build/install interfaces by upstream's implicit rules. + +This patch is used on two places; postgresql.spec and libecpg.spec -- keep those +in sync! + +Related: rhbz#1618698 + +diff --git a/src/Makefile b/src/Makefile +index bcdbd95..4bea236 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -20,7 +20,6 @@ SUBDIRS = \ + backend/utils/mb/conversion_procs \ + backend/snowball \ + include \ +- interfaces \ + backend/replication/libpqwalreceiver \ + backend/replication/pgoutput \ + fe_utils \ +diff --git a/src/Makefile.global.in b/src/Makefile.global.in +index b9d86ac..29df69f 100644 +--- a/src/Makefile.global.in ++++ b/src/Makefile.global.in +@@ -549,7 +549,7 @@ endif + # How to link to libpq. (This macro may be used as-is by backend extensions. + # Client-side code should go through libpq_pgport or libpq_pgport_shlib, + # instead.) +-libpq = -L$(libpq_builddir) -lpq ++libpq = -lpq + + # libpq_pgport is for use by client executables (not libraries) that use libpq. + # We force clients to pull symbols from the non-shared libraries libpgport +@@ -579,7 +579,6 @@ endif + # Commonly used submake targets + + submake-libpq: | submake-generated-headers +- $(MAKE) -C $(libpq_builddir) all + + submake-libpgport: | submake-generated-headers + $(MAKE) -C $(top_builddir)/src/port all +-- +2.21.0 + |