Blob Blame History Raw
From 7ac1dda09bf5241aca7c09af5fac5c173a6ea653 Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
Date: Tue, 9 Sep 2014 20:27:22 +0200
Subject: [PATCH] hunspell_patch

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

diff --git a/texstudio.pro b/texstudio.pro
index 4f778dd..e125fef 100644
--- a/texstudio.pro
+++ b/texstudio.pro
@@ -466,7 +466,7 @@ unix {
 }
 
 DEFINES += HUNSPELL_STATIC
-include(hunspell/hunspell.pri)
+include(hunspell.pri)
 
 include(qcodeedit/qcodeedit.pri)
 
@@ -672,4 +672,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