Skip to content

Commit 8793307

Browse files
committed
fix includes #6441
1 parent 9ee2368 commit 8793307

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)