aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/patches/unwind/fix_obj_order.patch
blob: e764f0f3d32f09735c84fa7e7f8d02b9fee4aeb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- config/ltmain.sh.0	2020-11-10 17:25:26.000000000 +0100
+++ config/ltmain.sh	2021-09-11 19:39:36.000000000 +0200
@@ -10768,6 +10768,8 @@
 	fi
 	func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
 	tool_oldlib=$func_to_tool_file_result
+	oldobjs=`for obj in $oldobjs; do echo $obj; done | sort`
+	oldobjs=" `echo $oldobjs`"
 	eval cmds=\"$old_archive_cmds\"
 
 	func_len " $cmds"