improve pcre2

pull/13/head
ruki 6 years ago
parent 18e1df1153
commit 2a1e8b3cb9
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 6
      packages/p/pcre2/xmake.lua

@ -14,10 +14,8 @@ package("pcre2")
add_deps("cmake") add_deps("cmake")
end end
on_load(function (package) add_links("pcre2-8")
package:addvar("links", "pcre2-8") add_defines("PCRE2_CODE_UNIT_WIDTH=8")
package:addvar("defines", "PCRE2_CODE_UNIT_WIDTH=8")
end)
if is_plat("windows") and winos.version():gt("winxp") then if is_plat("windows") and winos.version():gt("winxp") then
on_install("windows", function (package) on_install("windows", function (package)

Loading…
Cancel
Save