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