2018-09-05 05:54:34 +00:00
|
|
|
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
|
2018-10-17 12:32:43 +00:00
|
|
|
index bcdbd95..4bea236 100644
|
2018-09-05 05:54:34 +00:00
|
|
|
--- 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
|
2020-02-12 13:19:52 +00:00
|
|
|
index b9d86ac..29df69f 100644
|
2018-09-05 05:54:34 +00:00
|
|
|
--- a/src/Makefile.global.in
|
|
|
|
+++ b/src/Makefile.global.in
|
2020-02-12 13:19:52 +00:00
|
|
|
@@ -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.)
|
2018-09-05 05:54:34 +00:00
|
|
|
-libpq = -L$(libpq_builddir) -lpq
|
|
|
|
+libpq = -lpq
|
|
|
|
|
2020-02-12 13:19:52 +00:00
|
|
|
# libpq_pgport is for use by client executables (not libraries) that use libpq.
|
2018-09-05 05:54:34 +00:00
|
|
|
# We force clients to pull symbols from the non-shared libraries libpgport
|
2020-02-12 13:19:52 +00:00
|
|
|
@@ -579,7 +579,6 @@ endif
|
2018-09-05 05:54:34 +00:00
|
|
|
# Commonly used submake targets
|
|
|
|
|
2018-10-17 12:32:43 +00:00
|
|
|
submake-libpq: | submake-generated-headers
|
2018-09-05 05:54:34 +00:00
|
|
|
- $(MAKE) -C $(libpq_builddir) all
|
|
|
|
|
2018-10-17 12:32:43 +00:00
|
|
|
submake-libpgport: | submake-generated-headers
|
2018-09-05 05:54:34 +00:00
|
|
|
$(MAKE) -C $(top_builddir)/src/port all
|
2020-02-12 13:19:52 +00:00
|
|
|
--
|
|
|
|
2.21.0
|
|
|
|
|