cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: disabling static library when cross-compiling...

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 10 Sep 2008 00:22:53 -0700

On Wed, Sep 10, 2008 at 12:07:23PM +0530, Sajith T S wrote:
> Apologies if this is off-topic.
>
> I'm trying to build curl for a MIPS target, on a PC, with ./configure
> --disable-static --disable-shared.
>
> Basically I don't need the static library. (Building shared library
> would be nice, but not really necessary since I can manage with a
> static binary. However it doesn't do that either.) Despire passing
> --disable-static, it _always_ build the static library. How can I
> _really disable_ bulding the static library? The same arguments to
> ./configure work for the PC target, so there's clearly something I'm
> missing...

You need to build either the static or the shared library (or both).
After all, the curl command-line tool has to link against *something*.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2008-09-10