Regenerate charmonizer.c for Windows fix
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/43428483 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/43428483 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/43428483 Branch: refs/heads/master Commit: 4342848324359fb41bc3af196e169eca5e37fe80 Parents: d2c472a Author: Nick Wellnhofer <wellnho...@aevum.de> Authored: Sun Jul 12 11:47:34 2015 +0200 Committer: Nick Wellnhofer <wellnho...@aevum.de> Committed: Sun Jul 12 11:47:34 2015 +0200 ---------------------------------------------------------------------- common/charmonizer.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/43428483/common/charmonizer.c ---------------------------------------------------------------------- diff --git a/common/charmonizer.c b/common/charmonizer.c index 8c121a0..b05a383 100644 --- a/common/charmonizer.c +++ b/common/charmonizer.c @@ -5087,7 +5087,10 @@ chaz_MakeRule_add_command_with_libpath(chaz_MakeRule *rule, path = chaz_Util_vjoin(";", args); va_end(args); - lib_command = chaz_Util_join("", "path ", path, ";%path% && ", command, + /* It's important to not add a space before `&&`. Otherwise, the + * space is added to the search path. + */ + lib_command = chaz_Util_join("", "path ", path, ";%path%&& ", command, NULL); } else {