Skip to content

Commit 4b9d7cc

Browse files
committed
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.
1 parent 62698da commit 4b9d7cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makefile.global.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ PROVE_FLAGS = --verbose
302302

303303
# prepend to path if already set, else just set it
304304
define add_to_path
305-
$(1)='$(if $($(1)),$(2):$$$(1),$(2))'
305+
$(1)="$(if $($(1)),$(2):$$$(1),$(2))"
306306
endef
307307

308308
# platform-specific environment variable to set shared library path

0 commit comments

Comments
 (0)