cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] add support for pkg-config detection of libidn

From: Yang Tse <yangsita_at_gmail.com>
Date: Tue, 29 Nov 2011 19:25:29 +0100

2011/11/29 Guenter wrote:

> [...] what do you
> mean with 'lack of cross-compilation support' ? Provided that you use the
> host pkg-config (means prefix the same as the compiler and other tools) it
> should work, no?

Yep, pkg-config on its own has no way to know if a cross-compiling is
taking place or not. A common way around this is to have
host-pkg-config wrapper where configure runs for the host being
cross-compiled. libcurl's configure script already benefits of this
kind of setup.

-- 
-=[Yang]=-
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-29