diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-06-24 23:05:15 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-06-24 23:05:15 +0000 |
commit | 029299e7107c277de53fa6dbde19ba20722645a6 (patch) | |
tree | 8adad3a2eee30378ab963976b9ffd6646baf8f10 /pkgs/development/interpreters/lua-5 | |
parent | 924177da846f422db0b8943898ebcf40a1f6af10 (diff) |
Making lua build with -fPIC. This allows building vlc on linux-x86_64.
svn path=/nixpkgs/trunk/; revision=22411
Diffstat (limited to 'pkgs/development/interpreters/lua-5')
-rw-r--r-- | pkgs/development/interpreters/lua-5/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/lua-5/default.nix b/pkgs/development/interpreters/lua-5/default.nix index 2b0d79f8019fc..e88d5851c351c 100644 --- a/pkgs/development/interpreters/lua-5/default.nix +++ b/pkgs/development/interpreters/lua-5/default.nix @@ -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 ]; |