[PATCH 4/5] subsurface-configure.pri: add a libiconv dependency
Lubomir I. Ivanov
neolit123 at gmail.com
Wed Oct 9 11:35:51 UTC 2013
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
+
#
# Find libmarble
#
--
1.7.11.msysgit.0
More information about the subsurface
mailing list