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:
2
configure
vendored
2
configure
vendored
@@ -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
|
||||
|
@@ -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])
|
||||
|
Reference in New Issue
Block a user