You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2015/07/12 13:23:12 UTC
[2/3] lucy git commit: Regenerate charmonizer.c for Windows fix
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 <we...@aevum.de>
Authored: Sun Jul 12 11:47:34 2015 +0200
Committer: Nick Wellnhofer <we...@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 {