From: Anatol Belski Date: Tue, 1 Mar 2016 08:35:00 +0000 (+0100) Subject: extend check for add_flag X-Git-Tag: php-7.1.0alpha1~553^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0df2575e9fc7e931951c838cf448e79f96e6eecf;p=php extend check for add_flag --- 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; }