Making lua build with -fPIC. This allows building vlc on linux-x86_64.

svn path=/nixpkgs/trunk/; revision=22411
This commit is contained in:
Lluís Batlle i Rossell 2010-06-24 23:05:15 +00:00
parent 924177da84
commit 029299e710

View File

@ -6,6 +6,7 @@ stdenv.mkDerivation {
url = http://www.lua.org/ftp/lua-5.1.4.tar.gz;
sha256 = "0fmgk100ficm1jbm4ga9xy484v4cm89wsdfckdybb9gjx8jy4f5h";
};
makeFlags = [ "MYCFLAGS=-fPIC" ];
buildFlags = "linux"; # TODO: support for non-linux systems
installFlags = "install INSTALL_TOP=\${out}";
buildInputs = [ ncurses readline ];