7e2475
diff --git a/src/Makefile b/src/Makefile
7e2475
index febbced..9737b55 100644
7e2475
--- a/src/Makefile
7e2475
+++ b/src/Makefile
7e2475
@@ -20,7 +20,6 @@ SUBDIRS = \
7e2475
 	backend/utils/mb/conversion_procs \
7e2475
 	backend/snowball \
7e2475
 	include \
7e2475
-	interfaces \
7e2475
 	backend/replication/libpqwalreceiver \
7e2475
 	backend/replication/pgoutput \
7e2475
 	fe_utils \
7e2475
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
7e2475
index 4ed5174..d0e0dae 100644
7e2475
--- a/src/Makefile.global.in
7e2475
+++ b/src/Makefile.global.in
7e2475
@@ -457,7 +457,7 @@ endif
7e2475
 
7e2475
 # This macro is for use by libraries linking to libpq.  (Because libpgport
7e2475
 # isn't created with the same link flags as libpq, it can't be used.)
7e2475
-libpq = -L$(libpq_builddir) -lpq
7e2475
+libpq = -lpq
7e2475
 
7e2475
 # This macro is for use by client executables (not libraries) that use libpq.
7e2475
 # We force clients to pull symbols from the non-shared libraries libpgport
7e2475
@@ -483,7 +483,6 @@ endif
7e2475
 # Commonly used submake targets
7e2475
 
7e2475
 submake-libpq:
7e2475
-	$(MAKE) -C $(libpq_builddir) all
7e2475
 
7e2475
 submake-libpgport:
7e2475
 	$(MAKE) -C $(top_builddir)/src/port all