We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7eab72 commit c295751Copy full SHA for c295751
xmake/modules/package/tools/autoconf.lua
@@ -449,7 +449,7 @@ function buildenvs(package, opt)
449
name = name:gsub("gcc-%d+", "ld")
450
name = name:gsub("g%+%+$", "ld")
451
name = name:gsub("g%+%+%-%d+", "ld")
452
- if os.isfile(path.join(dir, name)) then
+ if dir and os.isfile(path.join(dir, name)) then
453
envs.LD = path.join(dir, name)
454
else
455
local ld = find_tool("ld")
0 commit comments