From 71e8ccf9f796c9f348eba0e16f7757b6e117c2ef Mon Sep 17 00:00:00 2001 From: unknown <tim@threads.polyesthetic.msg> Date: Wed, 4 Oct 2000 17:54:49 -0400 Subject: [PATCH] ltmain.sh Don't add -lc to deplibs under FreeBSD ltmain.sh: Don't add -lc to deplibs under FreeBSD --- ltmain.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ltmain.sh b/ltmain.sh index ae10cad021b..654bacab1e8 100644 --- a/ltmain.sh +++ b/ltmain.sh @@ -1789,6 +1789,9 @@ compiler." *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*) # these systems don't actually have a c library (as such)! ;; + *-*-freebsd*) + # FreeBSD needs to handle -lc (or -lc_r) itself + ;; *) # Add libc to deplibs on all other systems. deplibs="$deplibs -lc"