Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2000 02:40:03 -0700 (PDT)
From:      Jeremy Lea <reg@FreeBSD.ORG>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/20157: libtool incorrectly adds -lc to threaded apps
Message-ID:  <200007250940.CAA06462@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/20157; it has been noted by GNATS.

From: Jeremy Lea <reg@FreeBSD.ORG>
To: krinsky@sleepycat.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/20157: libtool incorrectly adds -lc to threaded apps
Date: Tue, 25 Jul 2000 02:32:22 -0700

 Hi,
 
 On Mon, Jul 24, 2000 at 05:18:59PM -0400, krinsky@sleepycat.com wrote:
 > 	This may not be the cleanest, but it works and is what we are
 > 	planning to put in the ltmain.sh included with an upcoming release of
 > 	Berkeley DB:
 > 
 > *** ltmain.sh.orig      Thu Apr 29 09:30:37 1999
 > --- ltmain.sh   Mon Jul 24 17:13:07 2000
 > ***************
 > *** 1762,1769 ****
 > --- 1762,1777 ----
 >         case "$host" in
 >         *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
 >           # these systems don't actually have a c library (as such)!
 >           ;;
 > + 
 > +         #### local change for FreeBSD:
 > +         # The following case is added, since the linker's -pthread
 > +         # option implicitly controls use of -lc or -lc_r.
 > +       *freebsd2*|*freebsd3*|*freebsdelf3*|*freebsd4*)
 > +         # defer to whether the user wants -lc, or -lc_r
 > +         ;;
 > + 
 >         *)
 >           # Add libc to deplibs on all other systems.
 >           deplibs="$deplibs -lc"
 >           ;;
 > 
 
 Please explain how this differs from patch-ad line 66, other than not
 working for -current.
 
 Regards,
  -Jeremy
 
 -- 
 FreeBSD - Because the best things in life are free...
                                            http://www.freebsd.org/
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007250940.CAA06462>