another spot where ltmain.sh checks whether it's acceptable to use libc,
disable for openbsd.
This commit is contained in:
parent
de8f8529c5
commit
4222f7e372
@ -1,16 +1,27 @@
|
||||
--- ltmain.sh.orig Sat Oct 21 13:54:20 2000
|
||||
+++ ltmain.sh Sat Oct 21 13:54:11 2000
|
||||
@@ -1799,6 +1799,9 @@
|
||||
# rhapsody is a little odd...
|
||||
deplibs="$deplibs -framework System"
|
||||
--- ltmain.sh.orig Sat May 27 07:15:01 2000
|
||||
+++ ltmain.sh Thu Feb 8 15:57:58 2001
|
||||
@@ -1079,6 +1079,10 @@
|
||||
# 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" = "-lm"; then
|
||||
case "$host" in
|
||||
@@ -1795,6 +1799,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.
|
||||
+ # Do not include libc due to us having libc/libc_r.
|
||||
+ ;;
|
||||
*)
|
||||
# Add libc to deplibs on all other systems.
|
||||
deplibs="$deplibs -lc"
|
||||
@@ -3567,40 +3570,6 @@
|
||||
*-*-rhapsody*)
|
||||
# rhapsody is a little odd...
|
||||
deplibs="$deplibs -framework System"
|
||||
@@ -3567,40 +3574,6 @@
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = : && exit 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user