curl-library
Re: static lib problem
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 5 Jun 2002 21:36:12 +0200 (MET DST)
Date: Wed, 5 Jun 2002 21:36:12 +0200 (MET DST)
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`
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/ _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfmReceived on 2002-06-05