aboutsummaryrefslogtreecommitdiff
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:57 -0500
commitd68d670027469d61f5f0e51e9623e987b6605be8 (patch)
treee4b9ff7a6e6a269f9880716deeb66cbbb93060e4
parentcd1873160d9b9b7002814efeff28bb5c21daadce (diff)
downloadpostgresql-d68d670027469d61f5f0e51e9623e987b6605be8.tar.gz
postgresql-d68d670027469d61f5f0e51e9623e987b6605be8.zip
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 9fe3b4d678c..d27cfc0ff7f 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -481,6 +481,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)
+
##########################################################################
#