sync libtool patches

This commit is contained in:
kevlo 2001-02-19 02:38:45 +00:00
parent baeba5179c
commit 04e697852e

View File

@ -1,16 +1,45 @@
--- ltmain.sh.orig Fri Jan 5 02:13:13 2001
+++ ltmain.sh Sun Feb 4 19:25:57 2001
@@ -1795,6 +1795,9 @@
--- ltmain.sh.orig Fri Jan 5 07:13:13 2001
+++ ltmain.sh Mon Feb 19 10:30:34 2001
@@ -1079,6 +1079,17 @@
# These systems don't actually have c library (as such)
continue
;;
+ *-*-openbsd*)
+ # Do not include libc due to us having libc/libc_r.
+ continue
+ ;;
+ esac
+ elif test "$arg" = "-lc_r"; then
+ case "$host" in
+ *-*-openbsd*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
esac
elif test "$arg" = "-lm"; then
case "$host" in
@@ -1091,6 +1102,10 @@
deplibs="$deplibs $arg"
;;
+ -?thread)
+ deplibs="$deplibs $arg"
+ ;;
+
-module)
module=yes
continue
@@ -1795,6 +1810,9 @@
*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
# these systems don't actually have a c library (as such)!
;;
+ *-*-openbsd*)
+ # do not include libc due to us having libc/libc_r.
+ *-*-openbsd*)
+ # Do not include libc due to us having libc/libc_r.
+ ;;
*)
# Add libc to deplibs on all other systems.
deplibs="$deplibs -lc"
@@ -3555,40 +3558,6 @@
@@ -3555,40 +3573,6 @@
# Exit here if they wanted silent mode.
test "$show" = : && exit 0