File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ add_requires("ffmpeg")
6
6
7
7
target (" player" )
8
8
do
9
- set_kind (" static" )
10
9
add_files (" *.c" )
11
10
add_packages (" sdl2" )
12
11
add_packages (" sdl2_image" )
Original file line number Diff line number Diff line change 35
35
36
36
add_configs (" shared" , {
37
37
description = " Build shared library." ,
38
- default = os.getenv (" RT_XMAKE_LINK_TYPE" ) ~ = " static" ,
38
+ default = os.getenv (" RT_XMAKE_LINK_TYPE" ) = = " static" ,
39
39
type = " boolean"
40
40
})
41
41
49
49
local cc = info .cc
50
50
os .setenv (" PATH" , path.directory (cc ) .. " :" .. os.getenv (" PATH" ))
51
51
52
- table.insert (configs , " --enable-static=yes" )
52
+ -- table.insert(configs, "--enable-static=yes")
53
53
if package :config (" shared" ) then
54
54
table.insert (configs , " --enable-shared=yes" )
55
55
else
78
78
79
79
import (" package.tools.autoconf" ).configure (package , configs )
80
80
import (" package.tools.make" ).install (package )
81
-
81
+
82
82
end )
83
83
84
84
on_test (function (package )
You can’t perform that action at this time.
0 commit comments