summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2019-01-13 15:59:35 -0500
committerAndrew Dunstan <andrew@dunslane.net>2019-01-13 16:06:10 -0500
commit00b17bd3871ddd31b1ff6b8717a67b3343ffe9d6 (patch)
tree3963ef848d69b9362bf22ea0730e85c93f1202a5
parent90deb4dd6d4cbf86179a210e8bca3ef805f7129d (diff)
Make DLSUFFIX easily discoverable by build scripts
This will enable things like the buildfarm client to discover more reliably if certain libraries have been installed. Discussion: https://postgr.es/m/859e7c91-7ef4-d4b4-2ca2-8046e0cbee09@2ndQuadrant.com Backpatch to all live branches.
-rw-r--r--src/Makefile.global.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index 3902d16d98a..3ba65f6764e 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -474,6 +474,11 @@ ifeq ($(enable_rpath), yes)
LDFLAGS += $(rpath)
endif
+# Show the DLSUFFIX to build scripts (e.g. buildfarm)
+.PHONY: show_dl_suffix
+show_dl_suffix
+ @echo $(DLSUFFIX)
+
##########################################################################
#