diff options
| author | Arthur LAURENT <[email protected]> | 2025-09-09 21:38:20 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2025-09-09 21:38:20 +0200 |
| commit | 0ca151ca12093530d8770929a5e236da55d7693c (patch) | |
| tree | 8599fb80b24f30d9f8c2b35ed24d1a508192c2e6 /xmake/rules/wdk/env/load.lua | |
| parent | c6bccc83599b6b48a22ee34be70b9a84cdbb70ce (diff) | |
feat(wdk rules) support clang / llvm toolchains
Diffstat (limited to 'xmake/rules/wdk/env/load.lua')
| -rw-r--r-- | xmake/rules/wdk/env/load.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/rules/wdk/env/load.lua b/xmake/rules/wdk/env/load.lua index 962eeb616..fa682c207 100644 --- a/xmake/rules/wdk/env/load.lua +++ b/xmake/rules/wdk/env/load.lua @@ -68,7 +68,10 @@ function _base(target, mode) -- add link directories target:add("linkdirs", path.join(wdk.libdir, wdk.sdkver, mode, arch)) - target:add("linkdirs", path.join(wdk.libdir, "wdf", mode .. "df", arch, ver)) + local p = path.join(wdk.libdir, "wdf", mode .. "df", arch, ver) + if os.isdir(p) then + target:add("linkdirs", p) + end end -- load for umdf environment |
