From fc104c8b4f9b431e525d1297022f9f2212f71a27 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 15 Sep 2021 15:35:33 +0200 Subject: [PATCH] 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 --- configure | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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])