From 40c8d06b99065e79045ed0371b025c5ab7d6b065 Mon Sep 17 00:00:00 2001 From: hannes Date: Mon, 30 May 2016 21:44:02 +0200 Subject: [PATCH] hunspell-patch --- texstudio.pro | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/texstudio.pro b/texstudio.pro index d479d11..5410558 100644 --- a/texstudio.pro +++ b/texstudio.pro @@ -480,7 +480,7 @@ unix { isEmpty(USE_SYSTEM_HUNSPELL){ DEFINES += HUNSPELL_STATIC - include(hunspell/hunspell.pri) + include(hunspell.pri) } else { CONFIG += link_pkgconfig PKGCONFIG += hunspell @@ -610,3 +610,9 @@ else { QMAKE_LFLAGS -= -Wl,-s QMAKE_LFLAGS_RELEASE -= -Wl,-s } +# enable use of pkgconfig +unix { + CONFIG += link_pkgconfig + # use system hunspell + PKGCONFIG += hunspell +} -- 2.5.5