use CFLAGS for GTK tests, not CXXFLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2933,9 +2933,9 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
if test "$WXGTK20" = 1; then
|
if test "$WXGTK20" = 1; then
|
||||||
save_CXXFLAGS="$CXXFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
save_LIBS="$LIBS"
|
save_LIBS="$LIBS"
|
||||||
CXXFLAGS="$wx_cv_cflags_gtk $CXXFLAGS"
|
CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
|
||||||
LIBS="$LIBS $wx_cv_libs_gtk"
|
LIBS="$LIBS $wx_cv_libs_gtk"
|
||||||
|
|
||||||
dnl gtk_icon_size_lookup is not available in the GTK+ headers
|
dnl gtk_icon_size_lookup is not available in the GTK+ headers
|
||||||
@@ -2975,7 +2975,7 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
|
|||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
])
|
])
|
||||||
|
|
||||||
CXXFLAGS="$save_CXXFLAGS"
|
CFLAGS="$save_CFLAGS"
|
||||||
LIBS="$save_LIBS"
|
LIBS="$save_LIBS"
|
||||||
else
|
else
|
||||||
if test "$wxUSE_UNICODE" = "yes"; then
|
if test "$wxUSE_UNICODE" = "yes"; then
|
||||||
|
Reference in New Issue
Block a user