Re: [Xcode-users] Linking static curl lib
Re: [Xcode-users] Linking static curl lib
- Subject: Re: [Xcode-users] Linking static curl lib
- From: Jason Stephenson <email@hidden>
- Date: Tue, 25 Nov 2008 22:53:25 -0500
As Peter O'Gorman pointed out, you can link against the library just by
specifying its name, you don't need the -l
Try the following:
gcc -o curltest -I/Chiri/curl-7.18.1/include/curl -L/Chiri/contrib -lz
-lssl -lldap -lcrypto libcurl.a test.c
in the directory in your previous email. It should work.
Also, if you just put the full path to your self-built libcurl.a in the
OTHER LD FLAGS *WITHOUT THE -l* then you should link against the proper
binary from Xcode.
Jason
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden