From: Noah Misch Date: Mon, 13 Oct 2014 03:33:37 +0000 (-0400) Subject: Fix quoting in the add_to_path Makefile macro. X-Git-Tag: REL9_4_RC1~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b9d7ccab3fc180ca9830a92688c1b560a01b720;p=postgresql Fix quoting in the add_to_path Makefile macro. The previous quoting caused "make -C src/bin check" to ignore, rather than add to, any LD_LIBRARY_PATH content from the environment. Back-patch to 9.4, where the macro was introduced. --- diff --git a/src/Makefile.global.in b/src/Makefile.global.in index a7564e424f..7b6ccd5f9c 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -302,7 +302,7 @@ PROVE_FLAGS = --verbose # prepend to path if already set, else just set it define add_to_path -$(1)='$(if $($(1)),$(2):$$$(1),$(2))' +$(1)="$(if $($(1)),$(2):$$$(1),$(2))" endef # platform-specific environment variable to set shared library path