diff options
Diffstat (limited to 'win32')
-rw-r--r-- | win32/build/projectgen.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/build/projectgen.js b/win32/build/projectgen.js index a0c1f70993..69524d057f 100644 --- a/win32/build/projectgen.js +++ b/win32/build/projectgen.js @@ -344,8 +344,9 @@ function copy_dsp_files() newext = (ext.match(/apache2handler/) ? "php5apache2" : "php5" + ext); address = address.replace(ext + ".dsp", newext + ".dsp"); srcpath = ".\\"; - oldext = new RegExp(ext, "g"); + oldext = new RegExp(('[^=\\\\]'+ext), "g"); contents = contents.replace(oldext, newext); + contents = contents.replace(ext + ".dll", newext + ".dll"); } contents = contents.replace("CFG=" + ext, "CFG=" + newext); |