37 lines
777 B
Diff
37 lines
777 B
Diff
From 1578f44c4cc952ad5c013f20d249f335900c6e04 Mon Sep 17 00:00:00 2001
|
|
From: hannes <hannes@fedoraproject.org>
|
|
Date: Sat, 22 Mar 2014 14:42:59 +0100
|
|
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 32a61ad..1fe0719 100644
|
|
--- a/texstudio.pro
|
|
+++ b/texstudio.pro
|
|
@@ -441,7 +441,7 @@ unix {
|
|
}
|
|
|
|
DEFINES += HUNSPELL_STATIC
|
|
-include(hunspell/hunspell.pri)
|
|
+include(hunspell.pri)
|
|
|
|
include(qcodeedit/qcodeedit.pri)
|
|
|
|
@@ -632,4 +632,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.8.5.3
|
|
|