[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH 1/3] configure: fix detection for cURL libs wh
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-trivial] [PATCH 1/3] configure: fix detection for cURL libs when static linking |
Date: |
Fri, 24 Aug 2012 12:02:24 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Aug 20, 2012 at 11:39:07PM +0200, Yann E. MORIN wrote:
> Currently, configure uses the same code-path to check for cURL libraries,
> whether we are doing a static or dynamic build.
>
> Fix that by pasing the proper arguments: '--static-libs' for curl-config
> and '--static --libs' for pkg-config when a static build is attempted.
>
> Signed-off-by: "Yann E. MORIN" <address@hidden>
> ---
> configure | 8 +++++++-
> 1 files changed, 7 insertions(+), 1 deletions(-)
Can you set pkgconfig --static --libs in one place so the if [ "$static"
= "yes" ] code isn't duplicated several times? (This is a general
question about the entire patch series.)
Stefan