Skip to content

Commit 4a1d68f

Browse files
committed
123
1 parent b6ae277 commit 4a1d68f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

repo/packages/s/sdl2/xmake.lua

Lines changed: 3 additions & 5 deletions
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

@@ -77,10 +77,8 @@ do
7777
table.insert(configs, "--enable-video-rtt-touch=no")
7878
table.insert(configs, "--enable-video-rtt-fbdev=yes")
7979

80-
local buildenvs = import("package.tools.autoconf").buildenvs(package, {ldflags = ldflags})
81-
os.vrun("./autogen.sh", {envs = buildenvs})
82-
import("package.tools.autoconf").configure(package, configs, {envs = buildenvs})
83-
import("package.tools.make").install(package, {}, {envs = buildenvs})
80+
import("package.tools.autoconf").configure(package, configs)
81+
import("package.tools.make").install(package)
8482

8583
end)
8684

0 commit comments

Comments
 (0)