summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/ltmain/1.5')
-rw-r--r--patches/ltmain/1.518
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/ltmain/1.5 b/patches/ltmain/1.5
new file mode 100644
index 0000000..39abee0
--- /dev/null
+++ b/patches/ltmain/1.5
@@ -0,0 +1,18 @@
+--- ltmain.sh 2007-09-15 07:35:19 +0100
++++ ltmain.sh 2004-01-25 12:40:26 +0000
+@@ -1854,6 +1840,15 @@
+ lib=
+ found=no
+ case $deplib in
++ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
++ if test "$linkmode,$pass" = "prog,link"; then
++ compile_deplibs="$deplib $compile_deplibs"
++ finalize_deplibs="$deplib $finalize_deplibs"
++ else
++ deplibs="$deplib $deplibs"
++ fi
++ continue
++ ;;
+ -l*)
+ if test "$linkmode" != lib && test "$linkmode" != prog; then
+ $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2