Skip to content

Commit

Permalink
fix pango
Browse files Browse the repository at this point in the history
  • Loading branch information
xq114 committed Nov 22, 2023
1 parent 9192cd6 commit b42063c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/p/pango/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ package("pango")
-- fix unexpected -Werror=array-bounds errors, see https://gitlab.gnome.org/GNOME/pango/-/issues/740
io.replace("meson.build", "'-Werror=array-bounds',", "", {plain = true})

local envs = meson.buildenvs(package, {packagedeps = {"fontconfig", "freetype", "harfbuzz", "fribidi", "cairo", "glib", "libintl"}})
-- workaround https://github.com/xmake-io/xmake/issues/4407
envs.LDFLAGS = string.gsub(envs.LDFLAGS, "-libpath:", "/libpath:")
meson.install(package, configs, {envs = envs})
meson.install(package, configs, {packagedeps = {"fontconfig", "freetype", "harfbuzz", "fribidi", "cairo", "glib", "libintl"}})
end)

on_test(function (package)
Expand Down

0 comments on commit b42063c

Please sign in to comment.