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