summaryrefslogtreecommitdiff
path: root/xmake/includes
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/includes')
-rw-r--r--xmake/includes/xrepo/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/includes/xrepo/xmake.lua b/xmake/includes/xrepo/xmake.lua
index 8891e4f0b..7f16410da 100644
--- a/xmake/includes/xrepo/xmake.lua
+++ b/xmake/includes/xrepo/xmake.lua
@@ -61,7 +61,7 @@ end
--
function xrepo_addenv(name, ...)
local args = table.pack(...)
- local packagename = "xrepo_addenv_" .. name .. (table.concat(args):gsub("%s", "_"))
+ local packagename = "__xrepo_addenv_" .. name .. (table.concat(args):gsub("%s", "_"))
package(packagename)
on_load(function (package)
package:addenv(name, table.unpack(args))