mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
Fix MacOSx compile warning by using linker flag '-ld_classic'
This commit is contained in:
@@ -34,6 +34,8 @@ if is_os("windows") then
|
|||||||
elseif is_os("linux") then
|
elseif is_os("linux") then
|
||||||
set_config("cflags", "-fPIC")
|
set_config("cflags", "-fPIC")
|
||||||
add_syslinks("pthread")
|
add_syslinks("pthread")
|
||||||
|
elseif is_os("macosx") then
|
||||||
|
add_ldflags("-ld_classic", {force = true})
|
||||||
end
|
end
|
||||||
|
|
||||||
add_packages("spdlog")
|
add_packages("spdlog")
|
||||||
|
|||||||
Reference in New Issue
Block a user