]> git.saurik.com Git - wxWidgets.git/commitdiff
gtk+-2.x runtime compatibility when compile-time gtk+ version is 2.7+
authorMart Raudsepp <leio@gentoo.org>
Sun, 28 Aug 2005 23:46:20 +0000 (23:46 +0000)
committerMart Raudsepp <leio@gentoo.org>
Sun, 28 Aug 2005 23:46:20 +0000 (23:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index 48e3f3edac7b0d00c60f78fa887713ca5b3ed300..ebe45a959259960f61433a39bce530360a78518f 100644 (file)
@@ -2740,7 +2740,7 @@ if test "$wxUSE_GUI" = "yes"; then
                     dnl we need to cache GTK_CFLAGS and GTK_LIBS for the
                     dnl subsequent runs
                     wx_cv_cflags_gtk=$GTK_CFLAGS
-                    wx_cv_libs_gtk=$GTK_LIBS
+                    wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[[^ ]]*cairo[[^ ]]*//g'`
                 fi
             ]
         )