@@ -44,3 +44,7 @@ package("pcre2")
end
import("package.tools.autoconf").install(package, configs)
end)
+
+ on_test(function (package)
+ assert(import("lib.detect.has_cfuncs")("pcre2_compile", {configs = package:fetch(), includes = "pcre2.h", links = package:get("links")}))
+ end)