diff --git a/configure b/configure index dc6a84f603..c15cefbf86 100755 --- a/configure +++ b/configure @@ -34090,7 +34090,7 @@ else $as_echo "yes" >&6; } CXXFLAGS="$GSPELL_CFLAGS $CXXFLAGS" - LIBS="$GSPELL_LIBS $LIBS" + GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GSPELL_LIBS" fi fi diff --git a/configure.in b/configure.in index 50aea8a2bf..b94d77e971 100644 --- a/configure.in +++ b/configure.in @@ -5780,7 +5780,7 @@ if test "$wxUSE_SPELLCHECK" = "yes"; then PKG_CHECK_MODULES(GSPELL, [gspell-1], [ CXXFLAGS="$GSPELL_CFLAGS $CXXFLAGS" - LIBS="$GSPELL_LIBS $LIBS" + GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GSPELL_LIBS" ], [ AC_MSG_WARN([gspell-1 not found, spell checking in wxTextCtrl won't be available])