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)