Skip to content

Commit 5842b61

Browse files
committed
Setting sdl2 for static compilation
1 parent e47556e commit 5842b61

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

repo/packages/s/sdl2/xmake.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ do
3535

3636
add_configs("shared", {
3737
description = "Build shared library.",
38-
default = os.getenv("RT_XMAKE_LINK_TYPE") ~= "static",
38+
default = flase,
3939
type = "boolean"
4040
})
4141

repo/packages/s/sdl2_image/xmake.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ do
3131

3232
add_configs("shared", {
3333
description = "Build shared library.",
34-
default = os.getenv("RT_XMAKE_LINK_TYPE") ~= "static",
34+
default = false,
3535
type = "boolean"
3636
})
3737

0 commit comments

Comments
 (0)