curl-library
RE: Disabling librt.so dependency
Date: Wed, 12 Aug 2009 05:29:26 +0900
Nice, worked for me. thanks!
> Date: Tue, 11 Aug 2009 22:03:19 +0200
> From: daniel_at_haxx.se
> To: curl-library_at_cool.haxx.se
> Subject: Re: Disabling librt.so dependency
>
> On Wed, 12 Aug 2009, Yuichi Kuroda wrote:
>
> > Hi I'm trying to build a static library for libcurl with minimal dynamic
> > dependencies. Currently, when I link in libcurl to my project it complains
> > that it can't find the clock_gettime symbol which is apparently found in
> > librt.so. Does anyone know how to configure to get rid of this dependency or
> > is it a core requirement for libcurl?
>
> If you want to build libcurl without that dependency, you can simply remove
> the definition of HAVE_CLOCK_GETTIME_MONOTONIC from lib/config.h and rebuild
> it.
>
> --
>
> / daniel.haxx.se
_________________________________________________________________
Share your memories online with anyone you want.
http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1
Received on 2009-08-11