瀏覽代碼

pcre2: fix pdb install

star9029 1 年之前
父節點
當前提交
08670f7423
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/p/pcre2/xmake.lua

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

@@ -63,6 +63,7 @@ package("pcre2")
         end
         end
         if package:is_debug() then
         if package:is_debug() then
             table.insert(configs, "-DPCRE2_DEBUG=ON")
             table.insert(configs, "-DPCRE2_DEBUG=ON")
+            table.insert(configs, "-DINSTALL_MSVC_PDB=ON")
         end
         end
         if package:is_plat("windows") then
         if package:is_plat("windows") then
             table.insert(configs, "-DPCRE2_STATIC_RUNTIME=" .. (package:config("vs_runtime"):startswith("MT") and "ON" or "OFF"))
             table.insert(configs, "-DPCRE2_STATIC_RUNTIME=" .. (package:config("vs_runtime"):startswith("MT") and "ON" or "OFF"))