From 02eda2c3d8e54d746d8ac88fd1a9730293d4f7a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leclercq?= Date: Mon, 3 Feb 2025 17:23:13 +0100 Subject: [PATCH] Update xmake.lua --- packages/l/libxext/xmake.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/l/libxext/xmake.lua b/packages/l/libxext/xmake.lua index 4e60a2da3fd..36b42b9b59b 100644 --- a/packages/l/libxext/xmake.lua +++ b/packages/l/libxext/xmake.lua @@ -25,6 +25,9 @@ package("libxext") if package:config("pic") then table.insert(configs, "--with-pic") end + if package:is_plat("cross") then + table.insert(configs, "--disable-malloc0returnsnull") + end import("package.tools.autoconf").install(package, configs) end)