diff options
| author | Arthur LAURENT <[email protected]> | 2024-04-10 16:01:04 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-04-10 16:01:26 +0200 |
| commit | 546dd2ee7ec2a4bae9b8a866300313bad9bb8c7a (patch) | |
| tree | 29698ae0c51c99ad985c83393ab1035c461fe296 /xmake/modules/package/tools/autoconf.lua | |
| parent | 5a29f4cd631037145d74ad67227c5486c9a08247 (diff) | |
use package:runtimes instead of package:config("runtimes")
Diffstat (limited to 'xmake/modules/package/tools/autoconf.lua')
| -rw-r--r-- | xmake/modules/package/tools/autoconf.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua index 05e968a23..7ffb355e7 100644 --- a/xmake/modules/package/tools/autoconf.lua +++ b/xmake/modules/package/tools/autoconf.lua @@ -304,7 +304,7 @@ function buildenvs(package, opt) table.join2(cxxflags, package:_generate_lto_configs("cxx").cxxflags) table.join2(ldflags, package:_generate_lto_configs().ldflags) end - local runtimes = package:config("runtimes") + local runtimes = package:runtimes() if runtimes then local fake_target = {is_shared = function(_) return false end, sourcekinds = function(_) return "cxx" end} |
