fixed linking (EXTRALIBS_GUI comes after EXTRALIBS and I don't see an easy way to change it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2121,7 +2121,7 @@ if test "$wxUSE_LIBPNG" != "no" ; then
|
|||||||
AC_CHECK_HEADER(png.h)
|
AC_CHECK_HEADER(png.h)
|
||||||
|
|
||||||
if test "$ac_cv_header_png_h" = "yes"; then
|
if test "$ac_cv_header_png_h" = "yes"; then
|
||||||
AC_CHECK_LIB(png, png_check_sig, PNG_LINK=" -lpng", , [-lz -lm])
|
AC_CHECK_LIB(png, png_check_sig, PNG_LINK=" -lpng -lz", , [-lz -lm])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$PNG_LINK" = "x" ; then
|
if test "x$PNG_LINK" = "x" ; then
|
||||||
|
Reference in New Issue
Block a user