diff options
| author | ruki <[email protected]> | 2025-05-17 21:28:42 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-17 21:28:42 +0800 |
| commit | 2b88ba37fa0a9957b8ab24cf1bf6da59e2c39f21 (patch) | |
| tree | e8c7b7a7bbe8ab1caba545ec72181b607295f7c6 | |
| parent | 9ee2368e99edc1907c4cd609d20829aada974d1c (diff) | |
| parent | 879330783f508a5d755b18d87c9e4ff1de836dd4 (diff) | |
Merge pull request #6458 from xmake-io/includes
fix includes #6441
| -rw-r--r-- | xmake/core/base/interpreter.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/interpreter.lua b/xmake/core/base/interpreter.lua index 4e5aaf8c7..94adfd53f 100644 --- a/xmake/core/base/interpreter.lua +++ b/xmake/core/base/interpreter.lua @@ -1793,7 +1793,7 @@ function interpreter:api_builtin_includes(...) files = os.files(subpath) else -- @see https://github.com/xmake-io/xmake/issues/6026 - files = os.files(path.join(subpath, path.filename(curfile))) + files = os.files(path.join(subpath, "xmake.lua")) end if files and #files > 0 then table.join2(subpaths_matched, files) |
