1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Move DSO dependencies inside the group.

This commit is contained in:
Mitch Phillips 2020-05-26 15:06:04 -07:00
parent 66f97bec03
commit 8e0a0632f6

View File

@ -88,7 +88,7 @@ template("unix_toolchain") {
if (current_os == "mac") {
command = "$ld {{ldflags}} -o $outfile {{inputs}} {{libs}}"
} else {
command = "$ld {{ldflags}} -o $outfile -Wl,--start-group {{inputs}} -Wl,--end-group {{libs}}"
command = "$ld {{ldflags}} -o $outfile -Wl,--start-group {{inputs}} {{libs}} -Wl,--end-group"
}
description = "LINK $outfile"
outputs = [ outfile ]