From 5f7d144debfdff9c81b7c828c28d07a0011af823 Mon Sep 17 00:00:00 2001 From: SirLynix Date: Mon, 3 Feb 2025 15:43:45 +0100 Subject: [PATCH] Update xmake.lua --- packages/x/xcb-proto/xmake.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/x/xcb-proto/xmake.lua b/packages/x/xcb-proto/xmake.lua index a0f09407902..830f8cc1455 100644 --- a/packages/x/xcb-proto/xmake.lua +++ b/packages/x/xcb-proto/xmake.lua @@ -9,11 +9,11 @@ package("xcb-proto") add_versions("1.14.1", "85cd21e9d9fbc341d0dbf11eace98d55d7db89fda724b0e598855fcddf0944fd") add_versions("1.16.0", "d9c7f010b1105fc3858bf07b5169b2dd8e7493c6652b1fe45f3321d874f291d7") - if is_plat("macosx", "linux", "bsd") then + if is_plat("macosx", "linux", "bsd", "cross") then add_deps("pkg-config", "python 3.x", {kind = "binary"}) end - on_install("macosx", "linux", "bsd", function (package) + on_install("macosx", "linux", "bsd", "cross", function (package) local configs = {"--sysconfdir=" .. package:installdir("etc"), "--localstatedir=" .. package:installdir("var"), "--disable-silent-rules",