Mercurial > sdl-ios-xcode
diff ltmain.sh @ 1:cf2af46e9e2a
Changes since SDL 1.2.0 release
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Thu, 26 Apr 2001 16:50:19 +0000 |
parents | 74212992fb08 |
children | 469d5c0da01d |
line wrap: on
line diff
--- a/ltmain.sh Thu Apr 26 16:45:43 2001 +0000 +++ b/ltmain.sh Thu Apr 26 16:50:19 2001 +0000 @@ -1079,7 +1079,18 @@ # 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 *-*-cygwin* | *-*-beos*) @@ -1091,6 +1102,10 @@ deplibs="$deplibs $arg" ;; + -?thread) + deplibs="$deplibs $arg" + ;; + -module) module=yes continue @@ -1799,6 +1814,9 @@ # rhapsody is a little odd... deplibs="$deplibs -framework System" ;; + *-*-openbsd*) + # do not include libc due to us having libc/libc_r. + ;; *) # Add libc to deplibs on all other systems. deplibs="$deplibs -lc"