From 020bfc84190966cc37a7980c1017d3956a0a4b15 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Wed, 15 Dec 2021 17:57:10 -0500 Subject: [PATCH] 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 This is a backpatch to 9.3 and 9.2 of commits b40cb99b85 and d9cdb1ba9e now that we are supporting limited builds of older versions. --- src/Makefile.global.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Makefile.global.in b/src/Makefile.global.in index 9e8cd8e61ac..bf90a6efe8f 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -396,6 +396,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) + ########################################################################## # -- 2.39.5