$OpenBSD$ --- ltmain.sh.orig Tue Apr 14 03:44:44 2009 +++ ltmain.sh Tue Apr 14 03:45:02 2009 @@ -1043,14 +1043,14 @@ compiler." # These systems don't actually have a C library (as such) test "X$arg" = "X-lc" && continue ;; - *-*-openbsd*) + *-*-openbsd* | *-*-fabbsd*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; esac elif test "X$arg" = "X-lc_r"; then case $host in - *-*-openbsd*) + *-*-openbsd* | *-*-fabbsd*) # Do not include libc_r directly, use -pthread flag. continue ;; @@ -2441,7 +2441,7 @@ compiler." *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; - *-*-openbsd*) + *-*-openbsd* | *-*-fabbsd*) # Do not include libc due to us having libc/libc_r. ;; *)