summaryrefslogtreecommitdiff
path: root/solenv/inc/libs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/inc/libs.mk')
-rw-r--r--solenv/inc/libs.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/solenv/inc/libs.mk b/solenv/inc/libs.mk
index 7237832e1..09b6df9d3 100644
--- a/solenv/inc/libs.mk
+++ b/solenv/inc/libs.mk
@@ -344,7 +344,11 @@ HUNSPELLLIB=$(HUNSPELL_LIBS)
.ELSE
HUNSPELLLIB=-lhunspell-1.2
.ENDIF
-MYTHESLIB=-lmythes
+.IF "$(SYSTEM_MYTHES)" == "YES"
+MYTHESLIB=$(MYTHES_LIBS)
+.ELSE
+MYTHESLIB=-lmythes-1.2
+.ENDIF
PYUNOLIB=-lpyuno
LPSOLVELIB=-llpsolve55
SOFFICELIB=-lsofficeapp