cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: static link

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 14 Sep 2006 09:56:16 -0700

On Thu, Sep 14, 2006 at 11:22:20AM -0500, Richard Pickett wrote:
> Is there a way to link in libcurl static?

./configure --disable-shared will build only a static libcurl, which is all
you should need as long as you don't have a dynamic libcurl lying around
somewhere else on your system. Otherwise, include the path of libcurl.a (or
libcurl.la if you're using libtool) when linking your app instead of using
-lcurl

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-09-14