]> granicus.if.org Git - php/commitdiff
- Make SAPI include paths work (on my box at least)
authorSteph Fox <sfox@php.net>
Fri, 18 Jul 2008 17:35:37 +0000 (17:35 +0000)
committerSteph Fox <sfox@php.net>
Fri, 18 Jul 2008 17:35:37 +0000 (17:35 +0000)
win32/build/projectgen.js

index a0c1f70993a45798408f0790e54615771ebbbcf1..69524d057fdb210dc8a13c548d61eaae60dd5ab9 100644 (file)
@@ -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);