Skip to content

Commit cdf5d13

Browse files
authored
IIS, use PCRE_NO_RECURSE option to avoid stack overflow (microsoft#48)
1 parent 92d4fc3 commit cdf5d13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iis/dependencies/build_pcre.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ move "%PCRE_DIR%" "pcre"
1515
)
1616

1717
cd "pcre"
18-
cat CMakeLists.txt | sed "s/PCRE_STATIC_RUNTIME OFF CACHE BOOL/PCRE_STATIC_RUNTIME/g" > CMakeLists.txt.ops
18+
cat CMakeLists.txt | sed "s/PCRE_STATIC_RUNTIME OFF CACHE BOOL/PCRE_STATIC_RUNTIME/g" | sed "s/PCRE_NO_RECURSE OFF/PCRE_NO_RECURSE ON/g" > CMakeLists.txt.ops
1919
move CMakeLists.txt CMakeLists.txt.old
2020
move CMakeLists.txt.ops CMakeLists.txt
2121
CMAKE -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=True

0 commit comments

Comments
 (0)