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.
This commit is contained in:
Andrew Dunstan 2019-01-13 15:59:35 -05:00
parent 472e1e4cf6
commit b40cb99b85
1 changed files with 5 additions and 0 deletions

View File

@ -523,6 +523,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)
##########################################################################
#