3
0
Fork 0
forked from mirrors/nixpkgs

Fixing wxGTK28 for x86_64, for the mesa references.

svn path=/nixpkgs/trunk/; revision=14454
This commit is contained in:
Lluís Batlle i Rossell 2009-03-09 10:42:24 +00:00
parent 1dd385c5b9
commit 8e2956c4cb

View file

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