Blob Blame History Raw
From 4d0e816c1b016c4ec9d54704f40789b1c7b79654 Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
Date: Fri, 20 Jun 2014 19:21:51 +0200
Subject: [PATCH 1/3] hunspell patch

---
 texstudio.pro | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/texstudio.pro b/texstudio.pro
index 7d07a6a..449dbd0 100644
--- a/texstudio.pro
+++ b/texstudio.pro
@@ -457,7 +457,7 @@ unix {
 }
 
 DEFINES += HUNSPELL_STATIC
-include(hunspell/hunspell.pri)
+include(hunspell.pri)
 
 include(qcodeedit/qcodeedit.pri)
 
@@ -663,4 +663,9 @@ else {
   QMAKE_LFLAGS -= -Wl,-s
   QMAKE_LFLAGS_RELEASE -= -Wl,-s
 }
-
+# enable use of pkgconfig


+unix {


+	CONFIG	+= link_pkgconfig


+	# use system hunspell


+	PKGCONFIG += hunspell


+}


-- 
1.9.3