projects
/
postgresql
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62698da
)
Fix quoting in the add_to_path Makefile macro.
author
Noah Misch
<noah@leadboat.com>
Mon, 13 Oct 2014 03:33:37 +0000
(23:33 -0400)
committer
Noah Misch
<noah@leadboat.com>
Mon, 13 Oct 2014 03:33:57 +0000
(23:33 -0400)
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.
src/Makefile.global.in
patch
|
blob
|
history
diff --git
a/src/Makefile.global.in
b/src/Makefile.global.in
index a7564e424f7a3122328f0e80060d6276d6660ded..7b6ccd5f9cb5d6b55eb2a7be6aee5f6b28a26a66 100644
(file)
--- 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