summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-03-16 00:49:26 +0800
committerruki <[email protected]>2023-03-16 00:49:26 +0800
commitaa1adec68c504d39889f4d98729354369aae4961 (patch)
treea7b4c6281312bc874e3cb1c1629d99962fe33bbd /xmake/modules/package/tools/xmake.lua
parente653ad7c7338f23b86eeaea1207176dc0e375d05 (diff)
add XMAKE_IN_XREPO
Diffstat (limited to 'xmake/modules/package/tools/xmake.lua')
-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..0743ac409 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 = "true"
return envs
end