cURL / Mailing Lists / curl-library / Single Mail

curl-library

Statically linking in OS X

From: Tomas Franzén <tomas_at_lightheadsw.com>
Date: Sat, 22 Jan 2005 20:30:31 +0100

Hi,

I am building a .bundle on Mac OS X that uses libcurl.
I want to make the bundle independent of installed libraries, so I want
to link libcurl statically with my bundle.
How do I accomplish this? I have tried running ./configure with
--enable-static, but it still uses sqlite as a dynamically linked lib,
and the resulting bundle is only 24 KB.
--disable-shared doesn't improve things, either.

I'm using Mac OS X 10.3.7 with XCode 1.2 and libcurl 7.12.3 on an iMac
G5 1.8 GHz.

Thanks!

Tomas Franzén
Lighthead Software
http://www.lightheadsw.com/
Received on 2005-01-22