Link only GUI libraries, not wxBase, with gspell

Don't add dependencies on gspell and all GUI libraries that it uses to
wxBase library, only link the GUI libraries with it.

See https://github.com/wxWidgets/wxWidgets/pull/2516
This commit is contained in:
Vadim Zeitlin
2021-09-15 15:35:33 +02:00
parent efb40daf4f
commit fc104c8b4f
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@@ -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

View File

@@ -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])