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