18e4f3
We don't build/install interfaces by upstream's implicit rules.
18e4f3
18e4f3
This patch is used on two places; postgresql.spec and libecpg.spec -- keep those
18e4f3
in sync!
18e4f3
18e4f3
Related: rhbz#1618698
18e4f3
18e4f3
diff --git a/src/Makefile b/src/Makefile
18e4f3
index bcdbd95..4bea236 100644
18e4f3
--- a/src/Makefile
18e4f3
+++ b/src/Makefile
18e4f3
@@ -20,7 +20,6 @@ SUBDIRS = \
18e4f3
 	backend/utils/mb/conversion_procs \
18e4f3
 	backend/snowball \
18e4f3
 	include \
18e4f3
-	interfaces \
18e4f3
 	backend/replication/libpqwalreceiver \
18e4f3
 	backend/replication/pgoutput \
18e4f3
 	fe_utils \
18e4f3
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
18e4f3
index b9d86ac..29df69f 100644
18e4f3
--- a/src/Makefile.global.in
18e4f3
+++ b/src/Makefile.global.in
18e4f3
@@ -549,7 +549,7 @@ endif
18e4f3
 # How to link to libpq.  (This macro may be used as-is by backend extensions.
18e4f3
 # Client-side code should go through libpq_pgport or libpq_pgport_shlib,
18e4f3
 # instead.)
18e4f3
-libpq = -L$(libpq_builddir) -lpq
18e4f3
+libpq = -lpq
18e4f3
 
18e4f3
 # libpq_pgport is for use by client executables (not libraries) that use libpq.
18e4f3
 # We force clients to pull symbols from the non-shared libraries libpgport
18e4f3
@@ -579,7 +579,6 @@ endif
18e4f3
 # Commonly used submake targets
18e4f3
 
18e4f3
 submake-libpq: | submake-generated-headers
18e4f3
-	$(MAKE) -C $(libpq_builddir) all
18e4f3
 
18e4f3
 submake-libpgport: | submake-generated-headers
18e4f3
 	$(MAKE) -C $(top_builddir)/src/port all
18e4f3
-- 
18e4f3
2.21.0
18e4f3