diff options
| author | ruki <[email protected]> | 2024-04-25 22:47:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-04-25 22:47:23 +0800 |
| commit | eae5d0fea8a8e36f6183e808c8fa7e851a4b7212 (patch) | |
| tree | 58fc6fd9d58fbb80d3bb7b19c7f845ddc24d5ba9 /xmake/modules/package/tools/autoconf.lua | |
| parent | 43351ab39e6324a35c40e946a6b749710c53946e (diff) | |
fix typo
Diffstat (limited to 'xmake/modules/package/tools/autoconf.lua')
| -rw-r--r-- | xmake/modules/package/tools/autoconf.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua index 02666beec..d5a53265d 100644 --- a/xmake/modules/package/tools/autoconf.lua +++ b/xmake/modules/package/tools/autoconf.lua @@ -310,11 +310,11 @@ function buildenvs(package, opt) end local runtimes = package:runtimes() if runtimes then - local fake_target = {is_shared = function(_) return false end, + local fake_target = {is_shared = function(_) return false end, sourcekinds = function(_) return "cxx" end} table.join2(cxxflags, _map_compflags(fake_target, "cxx", "runtime", runtimes)) table.join2(ldflags, _map_linkflags(fake_target, "binary", {"cxx"}, "runtime", runtimes)) - fake_target = {is_shared = function(_) return true end, + fake_target = {is_shared = function(_) return true end, sourcekinds = function(_) return "cxx" end} table.join2(shflags, _map_linkflags(fake_target, "shared", {"cxx"}, "runtime", runtimes)) end |
