From fe69cc0d27caace259a0c7ea25f7f1fab08be99b Mon Sep 17 00:00:00 2001 From: SirLynix Date: Sun, 25 Dec 2022 12:09:47 +0100 Subject: [PATCH] Disable SDL main --- xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake.lua b/xmake.lua index 929521462..8df18de83 100644 --- a/xmake.lua +++ b/xmake.lua @@ -100,8 +100,8 @@ local modules = { }, Platform = { Deps = {"NazaraUtility"}, - Packages = {"libsdl"}, Custom = function() + add_packages("libsdl", { components = {"lib"}}) if is_plat("windows", "mingw") then add_defines("SDL_VIDEO_DRIVER_WINDOWS=1") elseif is_plat("linux") then