cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: AW: Building statically linked curl on Solaris

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 25 Jan 2007 22:29:58 +0100 (CET)

On Thu, 25 Jan 2007, Christian Brinz wrote:

> So i think the CFLAGS="-static" is the right way, but how to avoid the
> problem with gethostbyname()?

libtool also offers the "-all-static" option, so you can do it like:

  make LDFLAGS=-all-static

... but you still get that same problem, and I'm not the man to solve it.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-01-25