summaryrefslogtreecommitdiff
path: root/contrib/depends/patches/unwind/fix_obj_order.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/depends/patches/unwind/fix_obj_order.patch')
-rw-r--r--contrib/depends/patches/unwind/fix_obj_order.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/depends/patches/unwind/fix_obj_order.patch b/contrib/depends/patches/unwind/fix_obj_order.patch
new file mode 100644
index 0000000..e764f0f
--- /dev/null
+++ b/contrib/depends/patches/unwind/fix_obj_order.patch
@@ -0,0 +1,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"