Making wxWidgets cross-build for mingw32.

svn path=/nixpkgs/trunk/; revision=21631

+15
+15
pkgs/development/libraries/wxGTK-2.8/default.nix
··· 30 30 "--with-opengl" 31 31 ]; 32 32 33 + # 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 + 33 48 # This variable is used by configure to find some dependencies. 34 49 SEARCH_INCLUDE = 35 50 "${libXinerama}/include ${libSM}/include ${libXxf86vm}/include";