From a781ce0104024d666369098d09b21bbfefbb46fb Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 13 Aug 2023 22:52:47 +0800 Subject: [PATCH] Update xmake.lua --- packages/h/harfbuzz/xmake.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/h/harfbuzz/xmake.lua b/packages/h/harfbuzz/xmake.lua index f4ea7ed9602..8fd5ad1b900 100644 --- a/packages/h/harfbuzz/xmake.lua +++ b/packages/h/harfbuzz/xmake.lua @@ -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 @@ -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)