improve freetype

pull/13/head
ruki 6 years ago
parent c64d07c512
commit c108b7f12f
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 2
      packages/f/fontconfig/xmake.lua
  2. 5
      packages/f/freetype/xmake.lua

@ -8,7 +8,7 @@ package("fontconfig")
add_deps("pkg-config", "freetype >= 2.9")
if not is_plat("macosx") then
add_deps("gperf")
add_deps("autoconf", "automake", "gperf", "bzip2")
end
on_install("linux", "macosx", function (package)

@ -27,7 +27,10 @@ package("freetype")
end)
on_install("linux", "macosx", function (package)
import("package.tools.autoconf").install(package)
local configs = { "--enable-freetype-config",
"--without-harfbuzz",
"--enable-shared=no"}
import("package.tools.autoconf").install(package, configs)
end)
on_test(function (package)

Loading…
Cancel
Save