teach libtool how to link with -pthread, needed since libxml update

This commit is contained in:
sturm 2003-06-28 21:37:04 +00:00
parent 9d66590f0a
commit 0f4c2b6bb9
2 changed files with 29 additions and 9 deletions

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-ltmain_sh,v 1.1 2002/11/30 04:41:29 marcm Exp $
--- ltmain.sh.orig Sat Jun 1 08:15:26 2002
+++ ltmain.sh Wed Jul 24 11:41:49 2002
$OpenBSD: patch-ltmain_sh,v 1.2 2003/06/28 21:37:04 sturm Exp $
--- ltmain.sh.orig Thu Jul 25 04:25:36 2002
+++ ltmain.sh Sat Jun 28 19:38:39 2003
@@ -1037,6 +1037,17 @@ compiler."
continue
;;
@ -19,7 +19,17 @@ $OpenBSD: patch-ltmain_sh,v 1.1 2002/11/30 04:41:29 marcm Exp $
-module)
module=yes
continue
@@ -4412,40 +4423,6 @@ relink_command=\"$relink_command\""
@@ -1473,6 +1484,9 @@ compiler."
fi
continue
;;
+ -pthread)
+ continue
+ ;;
%DEPLIBS%)
alldeplibs=yes
continue
@@ -4412,40 +4426,6 @@ relink_command=\"$relink_command\""
# Exit here if they wanted silent mode.
test "$show" = ":" && exit 0

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-ltmain_sh,v 1.2 2002/11/28 20:35:43 margarida Exp $
--- ltmain.sh.orig Mon Jun 10 03:25:37 2002
+++ ltmain.sh Tue Nov 12 15:39:53 2002
$OpenBSD: patch-ltmain_sh,v 1.3 2003/06/28 21:37:04 sturm Exp $
--- ltmain.sh.orig Sun Jun 9 22:25:15 2002
+++ ltmain.sh Sat Jun 28 18:40:22 2003
@@ -1044,15 +1044,18 @@ compiler."
;;
@ -45,7 +45,17 @@ $OpenBSD: patch-ltmain_sh,v 1.2 2002/11/28 20:35:43 margarida Exp $
-module)
module=yes
continue
@@ -2468,6 +2482,9 @@ compiler."
@@ -1507,6 +1521,9 @@ compiler."
fi
continue
;;
+ -pthread)
+ continue
+ ;;
%DEPLIBS%)
alldeplibs=yes
continue
@@ -2468,6 +2485,9 @@ compiler."
# Rhapsody C library is in the System framework
deplibs="$deplibs -framework System"
;;
@ -55,7 +65,7 @@ $OpenBSD: patch-ltmain_sh,v 1.2 2002/11/28 20:35:43 margarida Exp $
*-*-netbsd*)
# Don't link with libc until the a.out ld.so is fixed.
;;
@@ -4498,40 +4515,6 @@ relink_command=\"$relink_command\""
@@ -4498,40 +4518,6 @@ relink_command=\"$relink_command\""
# Exit here if they wanted silent mode.
test "$show" = ":" && exit 0