Wrap sibling dependencies in --start-group, --end-group (for GCC and Clang)

This commit is contained in:
Manu Evans 2015-09-16 15:17:14 +10:00
parent 158a80c696
commit fb09112fc4

View File

@ -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")