3
0
Fork 0
forked from mirrors/nixpkgs

Making wxWidgets cross-build for mingw32.

svn path=/nixpkgs/trunk/; revision=21631
This commit is contained in:
Lluís Batlle i Rossell 2010-05-06 18:23:03 +00:00
parent c548c084bb
commit 24c157910c

View file

@ -30,6 +30,21 @@ stdenv.mkDerivation {
"--with-opengl"
];
# Cross build only tested for mingw32
# Additionally, this should not be called wxGTK anymore, if built for
# mingw32. But before placing this in a better place, it helps as a test for
# mingw32.
crossAttrs = assert stdenv.cross.libc == "msvcrt"; {
src = fetchurl {
url = mirror://sourceforge/wxwindows/wxWidgets-2.8.11.tar.gz;
sha256 = "0icxd21g18d42n1ygshkpw0jnflm03iqki6r623pb5hhd7fm2ksj";
};
buildInputs = [];
propagatedBuildInputs = [];
SEARCH_INCLUDE="";
SEARCH_LIB="";
};
# This variable is used by configure to find some dependencies.
SEARCH_INCLUDE =
"${libXinerama}/include ${libSM}/include ${libXxf86vm}/include";