Browse Source

add patches for fondconfig

ruki 6 years ago
parent
commit
8e67e6d2ff
1 changed files with 4 additions and 1 deletions
  1. 4 1
      packages/f/fontconfig/xmake.lua

+ 4 - 1
packages/f/fontconfig/xmake.lua

@@ -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)