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