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 446ad5e commit 30bb617Copy full SHA for 30bb617
src/tools/gcc.lua
@@ -427,8 +427,10 @@
427
for _, fullpath in ipairs(dirs) do
428
local rpath = path.getrelative(cfg.buildtarget.directory, fullpath)
429
if table.contains(os.getSystemTags(cfg.system), "darwin") then
430
+ rpath = p.quoted(rpath) -- quote in case of spaces in path
431
rpath = "@loader_path/" .. rpath
432
elseif (cfg.system == p.LINUX) then
433
434
rpath = iif(rpath == ".", "", "/" .. rpath)
435
rpath = "$$ORIGIN" .. rpath
436
end
0 commit comments