curl-users
Re: [PATCH] Correct linking for curl
Date: Tue, 21 Oct 2008 16:20:27 -0700
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?
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has moved ------------------------------------------------------------------- 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