More compilation fixes for mingw-w64.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
11
configure.in
11
configure.in
@@ -2641,8 +2641,15 @@ if test "$USE_WIN32" = 1 ; then
|
|||||||
|
|
||||||
dnl --- FIXME: This is still a somewhat random list of libs,
|
dnl --- FIXME: This is still a somewhat random list of libs,
|
||||||
dnl --- some of them should probably be included conditionally.
|
dnl --- some of them should probably be included conditionally.
|
||||||
|
case "${host}" in
|
||||||
|
x86_64-*-mingw32* )
|
||||||
|
dnl --- For mingw-w64 lctl3d32's name has changed
|
||||||
|
LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
|
||||||
|
;;
|
||||||
|
* )
|
||||||
LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
|
LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
|
if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
|
||||||
LIBS="$LIBS -loleacc"
|
LIBS="$LIBS -loleacc"
|
||||||
fi
|
fi
|
||||||
@@ -4930,6 +4937,8 @@ dnl from if !MSW
|
|||||||
else
|
else
|
||||||
if test "$wxUSE_THREADS" = "yes" ; then
|
if test "$wxUSE_THREADS" = "yes" ; then
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
|
x86_64-*-mingw32* )
|
||||||
|
;;
|
||||||
*-*-mingw32* )
|
*-*-mingw32* )
|
||||||
dnl check if the compiler accepts -mthreads
|
dnl check if the compiler accepts -mthreads
|
||||||
AC_CACHE_CHECK([if compiler supports -mthreads],
|
AC_CACHE_CHECK([if compiler supports -mthreads],
|
||||||
|
Reference in New Issue
Block a user