]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Make DLSUFFIX easily discoverable by build scripts
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 15 Dec 2021 22:57:10 +0000 (17:57 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 15 Dec 2021 23:00:28 +0000 (18:00 -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

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

index d596ff21deaa9cf8d74dac6c88347ee4f71de5c7..eac89367a6e0679b350bd00df8e95cded7ad3f4b 100644 (file)
@@ -379,6 +379,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)
+
 
 ##########################################################################
 #