From 9437af471c91c9c3d89bb792cde495515864a2cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leclercq?= Date: Mon, 3 Feb 2025 20:21:29 +0100 Subject: [PATCH] Update xmake.lua --- packages/l/libsdl3/xmake.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/l/libsdl3/xmake.lua b/packages/l/libsdl3/xmake.lua index 920dc945856..90b68354e10 100644 --- a/packages/l/libsdl3/xmake.lua +++ b/packages/l/libsdl3/xmake.lua @@ -44,7 +44,7 @@ package("libsdl3") package:set("policy", "package.cmake_generator.ninja", true) end if package:is_plat("linux", "bsd", "cross") and package:config("x11") then - package:add("deps", "libxext", {private = true}) + package:add("deps", "libxext", "libxcb", {private = true}) end if package:is_plat("linux", "bsd", "cross") and package:config("wayland") then package:add("deps", "wayland", {private = true}) @@ -113,6 +113,7 @@ package("libsdl3") table.insert(configs, "-DCMAKE_INCLUDE_PATH=" .. table.concat(includedirs, ";")) cflags = cflags or {} for _, includedir in ipairs(includedirs) do + print("include dir: " .. includedir) table.insert(cflags, "-I" .. includedir) end end