summaryrefslogtreecommitdiffstats
path: root/subsurface-configure.pri
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-10-10 01:18:51 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-09 15:47:31 -0700
commita3d279b776171cc33a34508bc5d96b827891ab8d (patch)
tree41fc35d5acc038289164e63d625e0d59ddf74b42 /subsurface-configure.pri
parentd63327469bdc80e4fcd3a914d626fbeabe6d4d1b (diff)
downloadsubsurface-a3d279b776171cc33a34508bc5d96b827891ab8d.tar.gz
subsurface-configure.pri: add a libiconv dependency
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@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-configure.pri')
-rw-r--r--subsurface-configure.pri3
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-configure.pri b/subsurface-configure.pri
index 043384800..b70107f63 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
#