]> granicus.if.org Git - postgresql/commitdiff
Make DLSUFFIX easily discoverable by build scripts
authorAndrew Dunstan <andrew@dunslane.net>
Sun, 13 Jan 2019 20:59:35 +0000 (15:59 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Sun, 13 Jan 2019 21:05:28 +0000 (16:05 -0500)
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.

src/Makefile.global.in

index d21ef854a49c3c09e64b44363044af641e49a46d..79163036b4c5c6c4d594615dd3c1b8a6271dfda5 100644 (file)
@@ -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)
+
 
 ##########################################################################
 #