sync libtool patches
This commit is contained in:
parent
baeba5179c
commit
04e697852e
@ -1,16 +1,45 @@
|
|||||||
--- ltmain.sh.orig Fri Jan 5 02:13:13 2001
|
--- ltmain.sh.orig Fri Jan 5 07:13:13 2001
|
||||||
+++ ltmain.sh Sun Feb 4 19:25:57 2001
|
+++ ltmain.sh Mon Feb 19 10:30:34 2001
|
||||||
@@ -1795,6 +1795,9 @@
|
@@ -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*)
|
*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
|
||||||
# these systems don't actually have a c library (as such)!
|
# these systems don't actually have a c library (as such)!
|
||||||
;;
|
;;
|
||||||
+ *-*-openbsd*)
|
+ *-*-openbsd*)
|
||||||
+ # do not include libc due to us having libc/libc_r.
|
+ # Do not include libc due to us having libc/libc_r.
|
||||||
+ ;;
|
+ ;;
|
||||||
*)
|
*)
|
||||||
# Add libc to deplibs on all other systems.
|
# Add libc to deplibs on all other systems.
|
||||||
deplibs="$deplibs -lc"
|
deplibs="$deplibs -lc"
|
||||||
@@ -3555,40 +3558,6 @@
|
@@ -3555,40 +3573,6 @@
|
||||||
# Exit here if they wanted silent mode.
|
# Exit here if they wanted silent mode.
|
||||||
test "$show" = : && exit 0
|
test "$show" = : && exit 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user