curl-users
Re: [PATCH] Correct linking for curl
Date: Wed, 22 Oct 2008 14:00:59 +0200
Le mardi 21 octobre 2008, à 16h20, « Dan Fandrich » a écrit :
> On Wed, Oct 22, 2008 at 12:11:44AM +0200, Beber wrote:
> > You'll find attached a thin patch to link curl with all needed libs
> > (seen while cross compilation
>
> [...]
>
> > --- src/Makefile.am.ori 2008-10-21 23:56:36.000000000 +0200
> > +++ src/Makefile.am 2008-10-21 23:56:53.000000000 +0200
> > @@ -45,7 +45,7 @@
> >
> > include Makefile.inc
> >
> > -curl_LDADD = ../lib/libcurl.la @CURL_LIBS@
> > +curl_LDADD = ../lib/libcurl.la @CURL_LIBS@ @LIBCURL_LIBS@
> > curl_DEPENDENCIES = ../lib/libcurl.la
> > BUILT_SOURCES = hugehelp.c
> > CLEANFILES = hugehelp.c
>
> People cross compile curl all the time without this patch. libtool
> should make the additional of these extra libraries here unnecessary--it
> should be adding them on its own. What environment are you using where
> this patch is necessary? Which version of curl are you using, and
> which version of libtool?
I understang, but actullay autoconf just don't define LIBCURL_LIBS as
needed. I'm using curl 7.18.2 and libtool 2.2.6a.
-- Beber ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2008-10-22