Skip to content

Commit b7f23eb

Browse files
committed
123
1 parent 16c011d commit b7f23eb

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

apps/player/xmake.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
add_rules("mode.debug", "mode.release")
22

3-
add_requires("sdl2",{shared = false})
3+
add_requires("sdl2")
44
add_requires("sdl2_image")
55
add_requires("ffmpeg")
66

tools/scripts/toolchains/riscv64gc-unknown-smart-musl.lua

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ do
3434

3535
toolchain:add("cxflags", "-mcmodel=medany", "-march=rv64imafdc", "-mabi=lp64", {force = true})
3636

37-
local link_type = os.getenv("RT_XMAKE_LINK_TYPE") or "shared"
38-
if link_type == "static" then
39-
local ldscript = rtflags.get_ldscripts(false)
40-
toolchain:add("ldflags", ldscript.ldflags, {force = true})
41-
else
42-
local ldscript = rtflags.get_ldscripts(true)
43-
toolchain:add("ldflags", ldscript.ldflags, {force = true})
44-
end
37+
-- local link_type = os.getenv("RT_XMAKE_LINK_TYPE") or "shared"
38+
-- if link_type == "static" then
39+
-- local ldscript = rtflags.get_ldscripts(false)
40+
-- toolchain:add("ldflags", ldscript.ldflags, {force = true})
41+
-- else
42+
-- local ldscript = rtflags.get_ldscripts(true)
43+
-- toolchain:add("ldflags", ldscript.ldflags, {force = true})
44+
-- end
4545
end)
4646
end
4747
toolchain_end()

0 commit comments

Comments
 (0)