File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ add_requires("ffmpeg")
66
77target (" player" )
88do
9- set_kind (" static" )
109 add_files (" *.c" )
1110 add_packages (" sdl2" )
1211 add_packages (" sdl2_image" )
Original file line number Diff line number Diff line change 3535
3636 add_configs (" shared" , {
3737 description = " Build shared library." ,
38- default = os.getenv (" RT_XMAKE_LINK_TYPE" ) ~ = " static" ,
38+ default = os.getenv (" RT_XMAKE_LINK_TYPE" ) = = " static" ,
3939 type = " boolean"
4040 })
4141
4949 local cc = info .cc
5050 os .setenv (" PATH" , path.directory (cc ) .. " :" .. os.getenv (" PATH" ))
5151
52- table.insert (configs , " --enable-static=yes" )
52+ -- table.insert(configs, "--enable-static=yes")
5353 if package :config (" shared" ) then
5454 table.insert (configs , " --enable-shared=yes" )
5555 else
7878
7979 import (" package.tools.autoconf" ).configure (package , configs )
8080 import (" package.tools.make" ).install (package )
81-
81+
8282 end )
8383
8484 on_test (function (package )
You can’t perform that action at this time.
0 commit comments