diff --git a/goldendict.pro b/goldendict.pro index 6d95837a..9d0ffdce 100644 --- a/goldendict.pro +++ b/goldendict.pro @@ -62,10 +62,14 @@ win32 { -lavformat-gd \ -lavcodec-gd - greaterThan(QT_MAJOR_VERSION, 4) { - LIBS += -lhunspell-1.3 + isEmpty(HUNSPELL_LIB) { + greaterThan(QT_MAJOR_VERSION, 4) { + LIBS += -lhunspell-1.3-sjlj + } else { + LIBS += -lhunspell-1.3.2 + } } else { - LIBS += -lhunspell-1.3.2 + LIBS += -l$$HUNSPELL_LIB } RC_FILE = goldendict.rc diff --git a/winlibs/lib/libhunspell-1.3-dw2.a b/winlibs/lib/libhunspell-1.3-dw2.a new file mode 100644 index 00000000..563368e1 Binary files /dev/null and b/winlibs/lib/libhunspell-1.3-dw2.a differ diff --git a/winlibs/lib/libhunspell-1.3.a b/winlibs/lib/libhunspell-1.3-sjlj.a similarity index 100% rename from winlibs/lib/libhunspell-1.3.a rename to winlibs/lib/libhunspell-1.3-sjlj.a