summaryrefslogtreecommitdiff
path: root/src
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:04:34 -0500
commitf0566cec3a9fd67d30612afbe6dc4cf602641efa (patch)
treec7088c56352b7b5c6ba35bda2a959c880276c80f /src
parent0f514dd78f673080511f9fa7749e6e312a1ddd9b (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.
Diffstat (limited to 'src')
-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 8d382944f94..a52c6252b86 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -527,6 +527,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)
+
##########################################################################
#