From 0df2575e9fc7e931951c838cf448e79f96e6eecf Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 1 Mar 2016 09:35:00 +0100 Subject: [PATCH] extend check for add_flag --- win32/build/confutils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/build/confutils.js b/win32/build/confutils.js index 95f7985c3d..dd9bddd57a 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -2156,7 +2156,7 @@ function ADD_FLAG(name, flags, target) match can be done. This will also help to normalize flags and to not to insert duplicates. */ - if (curr_flags.indexOf(" " + flags) >= 0) { + if (curr_flags.indexOf(" " + flags) >= 0 || curr_flags.indexOf(flags + " ") >= 0) { return; } -- 2.40.0