cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: PATCH: curl-config --static-libs should output nothing when compiled with --disable-static

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 22 Nov 2012 09:06:27 +0100

On Wed, Nov 21, 2012 at 05:17:39PM +0100, Wouter Van Rooy wrote:
> When configuring curl with --disable-static and then running
> curl-config --static-libs it still outputs the non-present libraries.
>
> Attached is a patch to fix this.

The patch removes the non-present libraries, but outputting nothing is
still (theoretically) a valid output. It should probably output an error
message (to stderr) and exit with a nonzero return code in that case.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-11-22