summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/make.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-08-31 00:43:21 +0800
committerruki <[email protected]>2024-08-31 00:43:21 +0800
commitb7ef860d94d16822e75d56b6f48ad3416913e095 (patch)
tree336b979400ec1282be0c06c61829ce201fe5800e /xmake/modules/package/tools/make.lua
parent8317c6570c5abcd0e054741f58770b7eb57ec744 (diff)
rename api
Diffstat (limited to 'xmake/modules/package/tools/make.lua')
-rw-r--r--xmake/modules/package/tools/make.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/package/tools/make.lua b/xmake/modules/package/tools/make.lua
index 99e813c4a..9399fa900 100644
--- a/xmake/modules/package/tools/make.lua
+++ b/xmake/modules/package/tools/make.lua
@@ -42,9 +42,9 @@ function buildenvs(package)
local shflags = table.copy(table.wrap(package:config("shflags")))
local runtimes = package:runtimes()
if runtimes then
- table.join2(cxxflags, toolchain_utils.map_compflags(package, "cxx", "runtime", runtimes))
- table.join2(ldflags, toolchain_utils.map_linkflags(package, "binary", {"cxx"}, "runtime", runtimes))
- table.join2(shflags, toolchain_utils.map_linkflags(package, "shared", {"cxx"}, "runtime", runtimes))
+ table.join2(cxxflags, toolchain_utils.map_compflags_for_package(package, "cxx", "runtime", runtimes))
+ table.join2(ldflags, toolchain_utils.map_linkflags_for_package(package, "binary", {"cxx"}, "runtime", runtimes))
+ table.join2(shflags, toolchain_utils.map_linkflags_for_package(package, "shared", {"cxx"}, "runtime", runtimes))
end
if package:is_plat(os.host()) then
if package:is_plat("linux") and package:is_arch("i386") then