mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
Add -ldl link flag for Linux platform
This commit is contained in:
1
thirdparty/sdl2/xmake.lua
vendored
1
thirdparty/sdl2/xmake.lua
vendored
@@ -5,6 +5,7 @@ package("sdl2")
|
||||
add_deps("cmake")
|
||||
on_install(function (package)
|
||||
local configs = {}
|
||||
table.insert(configs, "-DSDL_SHARED_ENABLED_BY_DEFAULT=OFF -DSDL_TEST_ENABLED_BY_DEFAULT=OFF")
|
||||
import("package.tools.cmake").install(package, configs)
|
||||
end)
|
||||
package_end()
|
||||
Reference in New Issue
Block a user