cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] refactor libtest makefile

From: Nir Soffer <nirs_at_freeshell.org>
Date: Sat, 21 Oct 2006 13:51:45 +0200

On Oct 21, 2006, at 1:37 PM, Daniel Stenberg wrote:

>
>> The patch remove duplicate reference to lib/libcurl.la to make it
>> possible to override the values during make. src/Makefile.am uses
>> similar code. I think I'll need this to create test that link
>> against libcurl.framework.
>
> Thanks. Just a question on this. Why have two separate variables
> (LDADD and DEPENDENCIES) both containing the same content? When you
> override these, won't you want to override both to the same value
> then as well?

To link against libcurl.framework I need to set LDADD to "-framework
libcurl" and the DEPENDENCIES to /path/to/libcurl.framework/libcurl.

See the makefile I sent to the list yesterday.

Best Regards,

Nir Soffer
Received on 2006-10-21