fix freetype for linux

pull/13/head
ruki 6 years ago
parent 474b54d994
commit c64d07c512
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

@ -7,7 +7,7 @@ package("fontconfig")
add_versions("2.13.1", "9f0d852b39d75fc655f9f53850eb32555394f36104a044bb2b2fc9e66dbbfa7f")
add_deps("pkg-config", "freetype >= 2.9")
if is_plat("linux") then
if not is_plat("macosx") then
add_deps("gperf")
end

@ -12,6 +12,11 @@ package("freetype")
add_versions("2.9.1", "db8d87ea720ea9d5edc5388fc7a0497bb11ba9fe972245e0f7f4c7e8b1e1e84d")
end
add_deps("libpng")
if not is_plat("macosx") then
add_deps("bzip2", "zlib")
end
if not is_plat("windows") then
add_includedirs("include/freetype2")
end

Loading…
Cancel
Save