diff options
| author | ruki <[email protected]> | 2024-04-11 22:57:17 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-04-11 22:57:17 +0800 |
| commit | 8547470a497fcd86a9e6f54dc0b1782322bd5a53 (patch) | |
| tree | 923c4cb931bbdae962bc5f573b7d84c83a1071e4 /xmake/toolchains/tinycc | |
| parent | 8149723e942007f454aeb6422265fb812e9f833c (diff) | |
fix tinycc error
Diffstat (limited to 'xmake/toolchains/tinycc')
| -rw-r--r-- | xmake/toolchains/tinycc/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/toolchains/tinycc/xmake.lua b/xmake/toolchains/tinycc/xmake.lua index 1af772892..0cb00e1a0 100644 --- a/xmake/toolchains/tinycc/xmake.lua +++ b/xmake/toolchains/tinycc/xmake.lua @@ -81,7 +81,7 @@ toolchain("tinycc") end end local sdkdir = toolchain:sdkdir() - if os.isdir(sdkdir) then + if sdkdir and os.isdir(sdkdir) then local includedir = path.join(sdkdir, "include") if os.isdir(includedir) then toolchain:add("sysincludedirs", includedir) |
