Skip to content

Commit 2b88ba3

Browse files
authored
Merge pull request #6458 from xmake-io/includes
fix includes #6441
2 parents 9ee2368 + 8793307 commit 2b88ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmake/core/base/interpreter.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1793,7 +1793,7 @@ function interpreter:api_builtin_includes(...)
17931793
files = os.files(subpath)
17941794
else
17951795
-- @see https://github.com/xmake-io/xmake/issues/6026
1796-
files = os.files(path.join(subpath, path.filename(curfile)))
1796+
files = os.files(path.join(subpath, "xmake.lua"))
17971797
end
17981798
if files and #files > 0 then
17991799
table.join2(subpaths_matched, files)

0 commit comments

Comments
 (0)