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