summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan2019-01-13 20:59:35 +0000
committerAndrew Dunstan2019-01-13 21:05:28 +0000
commit149f91fa0b473656cf1733f6e455bdaaa2eded23 (patch)
tree6d50838b9e61825a5903dc33852833788c21a219
parent4f80974990dce96771ef0e44c45999d8cc029c22 (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 d21ef854a49..79163036b4c 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -472,6 +472,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)
+
##########################################################################
#