From 15ded5361b44cc6ffa456f64ce079c6e6f6604d9 Mon Sep 17 00:00:00 2001 From: Arthur LAURENT Date: Sat, 6 Apr 2024 15:54:13 +0200 Subject: use only self:runtimes() --- xmake/core/package/package.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index 9c57dc1f6..c777d3ec8 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -2271,7 +2271,7 @@ function _instance:_generate_build_configs(configs, opt) configs = table.join(self:fetch_librarydeps(), configs) -- since we are ignoring the runtimes of the headeronly library, -- we can only get the runtimes from the dependency library to detect the link. - local runtimes = self:config("runtimes") or self:runtimes() + local runtimes = self:runtimes() if self:is_headeronly() and not runtimes and self:librarydeps() then for _, dep in ipairs(self:librarydeps()) do if dep:is_plat("windows") and dep:runtimes() then -- cgit v1.3.1