summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools
diff options
context:
space:
mode:
authorruki <[email protected]>2023-03-16 09:14:50 +0800
committerGitHub <[email protected]>2023-03-16 09:14:50 +0800
commitb2acc71b278a95d6a6e57861fe482f64d6238bc9 (patch)
treebcfff34e081412197a2e1dec758643df5e4547bb /xmake/modules/package/tools
parente653ad7c7338f23b86eeaea1207176dc0e375d05 (diff)
parent056d8cd83589f84254c0a4c9fdd4d84c06eddc96 (diff)
Merge pull request #3512 from xmake-io/autoupdate
add XMAKE_IN_XREPO
Diffstat (limited to 'xmake/modules/package/tools')
-rw-r--r--xmake/modules/package/tools/xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/xmake.lua b/xmake/modules/package/tools/xmake.lua
index 71e23a328..8788ed6f8 100644
--- a/xmake/modules/package/tools/xmake.lua
+++ b/xmake/modules/package/tools/xmake.lua
@@ -241,6 +241,7 @@ function buildenvs(package, opt)
local envs = _get_package_toolchains_envs(package, opt)
-- we should avoid using $XMAKE_CONFIGDIR outside to cause conflicts
envs.XMAKE_CONFIGDIR = os.curdir()
+ envs.XMAKE_IN_XREPO = "1"
return envs
end