From: Donald D. Anderson Date: Tue, 27 Nov 2001 23:15:11 +0000 (+0000) Subject: * ltmain.in: Treat freebsd like openbsd, in that -lc/-lc_r should X-Git-Tag: release-1-4-3~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1181354cb01f4ee50542985ebc8de10c9a3fa2e6;p=thirdparty%2Flibtool.git * ltmain.in: Treat freebsd like openbsd, in that -lc/-lc_r should not be explicitly used. ld handles this depending on the presence of the -pthread option. --- diff --git a/ChangeLog b/ChangeLog index bfa441ed6..6d44b1d53 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-11-27 Donald D. Anderson + + * ltmain.in: Treat freebsd like openbsd, in that -lc/-lc_r should + not be explicitly used. ld handles this depending on the presence + of the -pthread option. + 2001-11-15 Guido Draheim * ltdl.m4: Changed "underscode to underscore". diff --git a/ltmain.in b/ltmain.in index 7b960e5c1..34d96f3b0 100644 --- a/ltmain.in +++ b/ltmain.in @@ -1043,14 +1043,14 @@ compiler." # These systems don't actually have a C library (as such) test "X$arg" = "X-lc" && continue ;; - *-*-openbsd*) + *-*-openbsd* | *-*-freebsd*) # 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* | *-*-freebsd*) # Do not include libc_r directly, use -pthread flag. continue ;; @@ -2449,7 +2449,7 @@ compiler." *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; - *-*-openbsd*) + *-*-openbsd* | *-*-freebsd*) # Do not include libc due to us having libc/libc_r. ;; *)