···30 "--with-opengl"
31 ];
3200000000000000033 # This variable is used by configure to find some dependencies.
34 SEARCH_INCLUDE =
35 "${libXinerama}/include ${libSM}/include ${libXxf86vm}/include";
···30 "--with-opengl"
31 ];
3233+ # Cross build only tested for mingw32
34+ # Additionally, this should not be called wxGTK anymore, if built for
35+ # mingw32. But before placing this in a better place, it helps as a test for
36+ # mingw32.
37+ crossAttrs = assert stdenv.cross.libc == "msvcrt"; {
38+ src = fetchurl {
39+ url = mirror://sourceforge/wxwindows/wxWidgets-2.8.11.tar.gz;
40+ sha256 = "0icxd21g18d42n1ygshkpw0jnflm03iqki6r623pb5hhd7fm2ksj";
41+ };
42+ buildInputs = [];
43+ propagatedBuildInputs = [];
44+ SEARCH_INCLUDE="";
45+ SEARCH_LIB="";
46+ };
47+48 # This variable is used by configure to find some dependencies.
49 SEARCH_INCLUDE =
50 "${libXinerama}/include ${libSM}/include ${libXxf86vm}/include";