From 8e0a0632f6367880891e169686f230626b475aa6 Mon Sep 17 00:00:00 2001 From: Mitch Phillips <31459023+hctim@users.noreply.github.com> Date: Tue, 26 May 2020 15:06:04 -0700 Subject: [PATCH] Move DSO dependencies inside the group. --- utils/gn/build/toolchain/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/gn/build/toolchain/BUILD.gn b/utils/gn/build/toolchain/BUILD.gn index 86e95d3de18..30d3ceaec65 100644 --- a/utils/gn/build/toolchain/BUILD.gn +++ b/utils/gn/build/toolchain/BUILD.gn @@ -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 ]