cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: 7.0.11beta

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 1 Aug 2000 08:36:47 +0200 (MET DST)

On Mon, 31 Jul 2000, Albert Chin-A-Young wrote:

> If you compile with --disable-static, curl won't build because of the
> following in src/Makefile.in:
> curl_LDADD = $(top_srcdir)/lib/.libs/libcurl.a
> curl_DEPENDENCIES = $(top_srcdir)/lib/.libs/libcurl.a
>
> Why do you force linking against a static binary?

Okey, the Makefile magic in the curl package is automake stuff. I received
patches that brought libtool support to the makefiles. I willingly admit I am
no automake nor libtool guru. I wasn't really aware that it forced linking
against a static binary.

I had a go at changing it and it should now do right I hope. Apply the
attached src/Makefile.am patch or just replace the src/Makefile.in with the
attached one!

I'll be waiting for some comments on this...!

-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol


Received on 2000-08-01