aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2014-10-12 23:33:37 -0400
committerNoah Misch <noah@leadboat.com>2014-10-12 23:33:37 -0400
commit494affbd900d1c90de17414a575af1a085c3e37a (patch)
tree7e6d213e6326e3824d6b6a5f7883dcf7d887dabf /src
parent27a23f9dfe81e324e5e51e04aad364bcaaff1096 (diff)
downloadpostgresql-494affbd900d1c90de17414a575af1a085c3e37a.tar.gz
postgresql-494affbd900d1c90de17414a575af1a085c3e37a.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.global.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index 2af9413f216..e76b22fb2d2 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