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