Skip to content

Commit

Permalink
Update xmake.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
SirLynix committed Feb 5, 2025
1 parent 9497d07 commit 3994562
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/l/libsdl2_gfx/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@ package("libsdl2_gfx")
add_includedirs("include", "include/SDL2")

on_load(function (package)
if package:config("shared") then
package:add("deps", "libsdl2", { configs = { shared = true }})
else
package:add("deps", "libsdl2")
end
package:add("deps", "libsdl2", { configs = { shared = package:config("shared") }})
end)

on_install("windows|x86", "windows|x64", "macosx", "linux", function(package)
Expand Down

0 comments on commit 3994562

Please sign in to comment.