Wrap sibling dependencies in --start-group, --end-group (for GCC and Clang)
This commit is contained in:
parent
158a80c696
commit
fb09112fc4
@ -296,6 +296,11 @@
|
||||
end
|
||||
end
|
||||
|
||||
if #result > 0 then
|
||||
table.insert(result, 1, "-Wl,--start-group")
|
||||
table.insert(result, "-Wl,--end-group")
|
||||
end
|
||||
|
||||
-- The "-l" flag is fine for system libraries
|
||||
|
||||
local links = config.getlinks(cfg, "system", "fullpath")
|
||||
|
Loading…
Reference in New Issue
Block a user