Build: Forcefully disable asan for package not supporting it
wayland, libcurl and ffmpeg
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
option("ffmpeg", { description = "Build FFmpeg plugin", default = false, category = "Plugins" })
|
option("ffmpeg", { description = "Build FFmpeg plugin", default = false, category = "Plugins" })
|
||||||
|
|
||||||
if has_config("ffmpeg") then
|
if has_config("ffmpeg") then
|
||||||
add_requires("ffmpeg", { configs = { shared = true } })
|
add_requires("ffmpeg", { configs = { asan = false, shared = true } })
|
||||||
|
|
||||||
target("PluginFFmpeg")
|
target("PluginFFmpeg")
|
||||||
set_group("Plugins")
|
set_group("Plugins")
|
||||||
|
|||||||
@@ -300,9 +300,9 @@ if has_config("network") then
|
|||||||
-- emscripten fetch API is used for WebService on wasm
|
-- emscripten fetch API is used for WebService on wasm
|
||||||
if not is_plat("wasm") then
|
if not is_plat("wasm") then
|
||||||
if has_config("link_curl") then
|
if has_config("link_curl") then
|
||||||
add_requires("libcurl")
|
add_requires("libcurl", { configs = { asan = false } })
|
||||||
else
|
else
|
||||||
add_requires("libcurl", { configs = { shared = true }})
|
add_requires("libcurl", { configs = { asan = false, shared = true }})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -360,7 +360,7 @@ if is_plat("linux", "android") then
|
|||||||
end
|
end
|
||||||
|
|
||||||
if is_plat("linux") then
|
if is_plat("linux") then
|
||||||
add_requires("libxext", "wayland")
|
add_requires("libxext", "wayland", { configs = { asan = false } })
|
||||||
end
|
end
|
||||||
|
|
||||||
----------------------- Global config -----------------------
|
----------------------- Global config -----------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user