[PATCH 4/4] subsurface-configure.pri: add a libiconv dependency
Lubomir I. Ivanov
neolit123 at gmail.com
Wed Oct 9 15:18:51 UTC 2013
From: "Lubomir I. Ivanov" <neolit123 at gmail.com>
This is a bit crude of a solution, but the Win32 version
of libxml (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 0433848..b70107f 100644
--- a/subsurface-configure.pri
+++ b/subsurface-configure.pri
@@ -100,6 +100,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