|
|
ffc865e |
We don't build/install interfaces by upstream's implicit rules.
|
|
|
ffc865e |
|
|
|
ffc865e |
This patch is used on two places; postgresql.spec and libecpg.spec -- keep those
|
|
|
ffc865e |
in sync!
|
|
|
ffc865e |
|
|
|
ffc865e |
Related: rhbz#1618698
|
|
|
ffc865e |
|
|
|
ffc865e |
diff --git a/src/Makefile b/src/Makefile
|
|
|
626e81a |
index bcdbd95..4bea236 100644
|
|
|
ffc865e |
--- a/src/Makefile
|
|
|
ffc865e |
+++ b/src/Makefile
|
|
|
ffc865e |
@@ -20,7 +20,6 @@ SUBDIRS = \
|
|
|
ffc865e |
backend/utils/mb/conversion_procs \
|
|
|
ffc865e |
backend/snowball \
|
|
|
ffc865e |
include \
|
|
|
ffc865e |
- interfaces \
|
|
|
ffc865e |
backend/replication/libpqwalreceiver \
|
|
|
ffc865e |
backend/replication/pgoutput \
|
|
|
ffc865e |
fe_utils \
|
|
|
ffc865e |
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
|
|
|
626e81a |
index 9a4a8a3..2bdfb77 100644
|
|
|
ffc865e |
--- a/src/Makefile.global.in
|
|
|
ffc865e |
+++ b/src/Makefile.global.in
|
|
|
626e81a |
@@ -513,7 +513,7 @@ endif
|
|
|
ffc865e |
|
|
|
ffc865e |
# This macro is for use by libraries linking to libpq. (Because libpgport
|
|
|
ffc865e |
# isn't created with the same link flags as libpq, it can't be used.)
|
|
|
ffc865e |
-libpq = -L$(libpq_builddir) -lpq
|
|
|
ffc865e |
+libpq = -lpq
|
|
|
ffc865e |
|
|
|
ffc865e |
# This macro is for use by client executables (not libraries) that use libpq.
|
|
|
ffc865e |
# We force clients to pull symbols from the non-shared libraries libpgport
|
|
|
626e81a |
@@ -539,7 +539,6 @@ endif
|
|
|
ffc865e |
# Commonly used submake targets
|
|
|
ffc865e |
|
|
|
626e81a |
submake-libpq: | submake-generated-headers
|
|
|
ffc865e |
- $(MAKE) -C $(libpq_builddir) all
|
|
|
ffc865e |
|
|
|
626e81a |
submake-libpgport: | submake-generated-headers
|
|
|
ffc865e |
$(MAKE) -C $(top_builddir)/src/port all
|