Fixing wxGTK build in x86_64 (mesa related)

svn path=/nixpkgs/trunk/; revision=15623
This commit is contained in:
Lluís Batlle i Rossell 2009-05-16 13:53:26 +00:00
parent ffcdec785b
commit c4c6c2a224

View File

@ -34,10 +34,7 @@ stdenv.mkDerivation {
SEARCH_INCLUDE =
"${libXinerama}/include ${libSM}/include ${libXxf86vm}/include";
SEARCH_LIB = if (stdenv.system == "x86_64-linux") then
"${mesa}/lib64"
else
"${mesa}/lib";
SEARCH_LIB = "${mesa}/lib";
# Work around a bug in configure.
NIX_CFLAGS_COMPILE = "-DHAVE_X11_XLIB_H=1";