[PATCH 4/5] subsurface-configure.pri: add a libiconv dependency
Thiago Macieira
thiago at macieira.org
Wed Oct 9 12:38:48 UTC 2013
On quarta-feira, 9 de outubro de 2013 21:35:51, Lubomir I. Ivanov wrote:
> From: "Lubomir I. Ivanov" <neolit123 at gmail.com>
>
> This is a bit crude of a solution, but the Win32 version
> of libxslt (or at least some versions) seem to require libiconv,
> thus we add the library with pkg-config if it is available.
>
> Signed-off-by: Lubomir I. Ivanov <neolit123 at gmail.com>
> ---
> subsurface-configure.pri | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/subsurface-configure.pri b/subsurface-configure.pri
> index 916bbdf..76d4472 100644
> --- a/subsurface-configure.pri
> +++ b/subsurface-configure.pri
> @@ -99,6 +99,9 @@ LIBS *= $$XML2_LIBS $$XSLT_LIBS
> # sqlite3
> link_pkgconfig: PKGCONFIG += libzip sqlite3
>
> +# Add libiconv if needed
> +link_pkgconfig: packagesExist(libiconv): PKGCONFIG += libiconv
> +
I noticed that iconv.dll got pulled into the build, but I don't understand why
this line is necessary.
The (cross) build succeeded here without the flags for libiconv. Can you share
with us what happened for you that makes this change necessary?
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20131009/3a8ecd26/attachment.sig>
More information about the subsurface
mailing list