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