fix freetype

pull/319/head
ruki 4 years ago
parent b49360fe29
commit e51a545c06
No known key found for this signature in database
GPG Key ID: 809EF06AD42725BD
  1. 1
      packages/f/freetype/xmake.lua

@ -42,7 +42,6 @@ package("freetype")
on_install("linux", "macosx", function (package) on_install("linux", "macosx", function (package)
local configs = { "--enable-freetype-config", local configs = { "--enable-freetype-config",
"--without-harfbuzz"} "--without-harfbuzz"}
local configs = {}
table.insert(configs, "--enable-shared=" .. (package:config("shared") and "yes" or "no")) table.insert(configs, "--enable-shared=" .. (package:config("shared") and "yes" or "no"))
table.insert(configs, "--enable-static=" .. (package:config("shared") and "no" or "yes")) table.insert(configs, "--enable-static=" .. (package:config("shared") and "no" or "yes"))
if package:config("pic") ~= false then if package:config("pic") ~= false then

Loading…
Cancel
Save