diff options
| author | PucklaMotzer09 <[email protected]> | 2021-12-09 12:27:37 +0100 |
|---|---|---|
| committer | PucklaMotzer09 <[email protected]> | 2021-12-09 12:27:37 +0100 |
| commit | c28b02c55c235f02fad3edb5c0855ca186eeff14 (patch) | |
| tree | f2a4a0a86ffe0ceea81de729194bc3ad53909ca7 /xmake/modules/detect/sdks/find_iccenv.lua | |
| parent | 6bd17831f2f68610a229f8802e4cd7d3060c7ee8 (diff) | |
Fix sdkdir in ifortenv and iccenv
Diffstat (limited to 'xmake/modules/detect/sdks/find_iccenv.lua')
| -rw-r--r-- | xmake/modules/detect/sdks/find_iccenv.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_iccenv.lua b/xmake/modules/detect/sdks/find_iccenv.lua index 2eb2c353c..84b40fade 100644 --- a/xmake/modules/detect/sdks/find_iccenv.lua +++ b/xmake/modules/detect/sdks/find_iccenv.lua @@ -140,7 +140,7 @@ function _find_intel_on_linux(opt) local icc = find_file("icc", paths) if icc then local bindir = path.directory(icc) - local sdkdir = path.directory(bindir) + local sdkdir = path.directory(path.directory(bindir)) return {sdkdir = sdkdir, bindir = bindir, libdir = path.join(sdkdir, "compiler", "lib", arch)} end end |
