forked from mirrors/nixpkgs
I did not enable well the -fPIC for lua in my last commit. 2nd attempt, for vlc to build fine.
Making vlc build finally (disabling dbus in it) svn path=/nixpkgs/trunk/; revision=22415
This commit is contained in:
parent
90ea2d1111
commit
9885a6a4da
|
@ -18,7 +18,16 @@ stdenv.mkDerivation {
|
|||
libvorbis libtheora speex lua libgcrypt
|
||||
];
|
||||
|
||||
configureFlags = "--enable-alsa --disable-glx --disable-remoteosd --enable-faad --enable-theora --enable-vorbis --enable-speex";
|
||||
configureFlags = [ "--enable-alsa"
|
||||
"--disable-glx"
|
||||
"--disable-remoteosd"
|
||||
"--enable-faad"
|
||||
"--enable-theora"
|
||||
"--enable-vorbis"
|
||||
"--enable-speex"
|
||||
"--disable-dbus"
|
||||
"--disable-dbus-control"
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace modules/misc/freetype.c --replace \
|
||||
|
|
|
@ -6,7 +6,7 @@ stdenv.mkDerivation {
|
|||
url = http://www.lua.org/ftp/lua-5.1.4.tar.gz;
|
||||
sha256 = "0fmgk100ficm1jbm4ga9xy484v4cm89wsdfckdybb9gjx8jy4f5h";
|
||||
};
|
||||
makeFlags = [ "MYCFLAGS=-fPIC" ];
|
||||
makeFlags = [ "CFLAGS=-fPIC" ];
|
||||
buildFlags = "linux"; # TODO: support for non-linux systems
|
||||
installFlags = "install INSTALL_TOP=\${out}";
|
||||
buildInputs = [ ncurses readline ];
|
||||
|
|
Loading…
Reference in a new issue