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