Explorar o código

improve pcre2

ruki %!s(int64=5) %!d(string=hai) anos
pai
achega
64f49bdfdc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/p/pcre2/xmake.lua

+ 1 - 1
packages/p/pcre2/xmake.lua

@@ -28,7 +28,7 @@ package("pcre2")
  
     if is_plat("windows") and winos.version():gt("winxp") then
         on_install("windows", function (package)
-            local configs = {}
+            local configs = {"-DPCRE2_BUILD_TESTS=OFF", "-DPCRE2_BUILD_PCRE2GREP=OFF"}
             table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
             table.insert(configs, "-DPCRE2_SUPPORT_JIT=" .. (package:config("jit") and "ON" or "OFF"))
             local bitwidth = package:config("bitwidth") or "8"