Fixing fbtermStdenv for cross building

svn path=/nixpkgs/branches/stdenv-updates/; revision=24881
This commit is contained in:
Lluís Batlle i Rossell 2010-11-26 18:35:50 +00:00
parent e18cbe33e6
commit f3beeca924

View File

@ -27,6 +27,9 @@ stdenv.mkDerivation {
' -i src/Makefile.in
export HOME=$PWD;
export NIX_LDFLAGS="$NIX_LDFLAGS -lfreetype"
# This is only relevant cross-building
export NIX_CROSS_LDFLAGS="$NIX_CROSS_LDFLAGS -lfreetype"
'';
}