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