diff options
| author | ruki <[email protected]> | 2024-09-24 00:59:41 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-09-24 00:59:41 +0800 |
| commit | 3f025d4e605ff5e0707af8a0f4d00402d8dbea3c (patch) | |
| tree | 74d6d582233f6195098a36cc679bc2c108527afc | |
| parent | 35699f52bd368650b4cfb1fc7d8a11dcf280e10f (diff) | |
test host
| -rw-r--r-- | xmake/modules/private/action/require/impl/utils/requirekey.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/modules/private/action/require/impl/utils/requirekey.lua b/xmake/modules/private/action/require/impl/utils/requirekey.lua index 2e1b0f400..633abb0d1 100644 --- a/xmake/modules/private/action/require/impl/utils/requirekey.lua +++ b/xmake/modules/private/action/require/impl/utils/requirekey.lua @@ -55,11 +55,10 @@ function main(requireinfo, opt) if requireinfo.system then key = key .. "/system" end - --[[ -- @see https://github.com/xmake-io/xmake/issues/4934 if requireinfo.private then key = key .. "/private" - end]] + end if key:startswith("/") then key = key:sub(2) end |
