improve pcre2 package

pull/3/head
ruki 6 years ago
parent fc1cd5fca6
commit 46d6050f2c
  1. 4
      packages/p/pcre2/xmake.lua

@ -20,6 +20,8 @@ package("pcre2")
on_install("windows", function (package)
import("package.builder.cmake").install(package)
package:addvar("links", "pcre2-8")
package:addvar("defines", "PCRE2_CODE_UNIT_WIDTH=8")
end)
on_build("macosx", "linux", function (package)
@ -28,4 +30,6 @@ package("pcre2")
on_install("macosx", "linux", function (package)
import("package.builder.autoconf").install(package)
package:addvar("links", "pcre2-8")
package:addvar("defines", "PCRE2_CODE_UNIT_WIDTH=8")
end)

Loading…
Cancel
Save