curl-library
Re: static lib problem
From: John Proctor <jproctor_at_prium.net>
Date: Wed, 5 Jun 2002 16:00:20 -0400
Date: Wed, 5 Jun 2002 16:00:20 -0400
That did it. Thanks alot.
On Wednesday 05 June 2002 03:36 pm, Daniel Stenberg wrote:
> On Wed, 5 Jun 2002, John Proctor wrote:
> > gcc -static `curl-config --cflags` `curl-config --libs` -o ftpget
> > ftpget.c
>
> The secret to success turned out to be the ordering of the options. It
> worked fine for me when I instead did it like this:
>
> gcc -o ftpget ftpget.c -static `curl-config --cflags` `curl-config
> --libs`
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Received on 2002-06-05