Skip to content

Commit

Permalink
Update xmake.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi authored Aug 13, 2023
1 parent 5835318 commit a781ce0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/h/harfbuzz/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ package("harfbuzz")
table.insert(configs, "-Ddefault_library=" .. (package:config("shared") and "shared" or "static"))
table.insert(configs, "-Dicu=" .. (package:config("icu") and "enabled" or "disabled"))
table.insert(configs, "-Dfreetype=" .. (package:config("freetype") and "enabled" or "disabled"))
local ldflags
local envs = meson.buildenvs(package)
if package:is_plat("windows") then
for _, dep in ipairs(package:orderdeps()) do
Expand All @@ -81,8 +80,12 @@ package("harfbuzz")
end
end
end
local pkgconf = find_tool("pkgconf")
print("pkgconf", pkgconf)
print(envs)
print(os.getenv("PATH"))
end
meson.install(package, configs, {envs = envs, ldflags = ldflags})
meson.install(package, configs, {envs = envs})
end)

on_test(function (package)
Expand Down

0 comments on commit a781ce0

Please sign in to comment.