diff --git a/_bin/sys_config b/_bin/sys_config index a3080711..89d9d247 100755 --- a/_bin/sys_config +++ b/_bin/sys_config @@ -282,6 +282,9 @@ USE_LIBC_START_MAIN=$(./start_main) cat <<"EOF" > pcre.cc #define PCRE2_CODE_UNIT_WIDTH 8 #include + void foo() { + pcre2_compile(nullptr,0,PCRE2_ANCHORED|PCRE2_DOTALL|PCRE2_ENDANCHORED,nullptr,nullptr,nullptr) ; + } EOF if $CXX -c -std=c++20 -o pcre.o pcre.cc 2>/dev/null then HAS_PCRE=1