|
@@ -8,8 +8,11 @@ package("fontconfig")
|
|
|
|
|
|
add_deps("pkg-config", "freetype >= 2.9")
|
|
|
if not is_plat("macosx") then
|
|
|
- add_deps("autoconf", "automake", "gperf", "bzip2")
|
|
|
+ add_deps("autoconf", "automake", "libtool", "gperf", "bzip2")
|
|
|
add_deps("util-linux", {configs = {libuuid = true}})
|
|
|
+ -- fix the build issue with --enable-static
|
|
|
+ add_patches("2.13.1", "https://gitlab.freedesktop.org/fontconfig/fontconfig/commit/8208f99fa1676c42bfd8d74de3e9dac5366c150c.diff",
|
|
|
+ "2abdff214b99f2d074170e6512b0149cc858ea26cd930690aa6b4ccea2c549ef")
|
|
|
end
|
|
|
|
|
|
on_install("linux", "macosx", function (package)
|