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