3
0
Fork 0
forked from mirrors/nixpkgs

Making the x264 libs build with PIC on non-i686, as it's the only platform I know that does not need PIC for shared libraries.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23576
This commit is contained in:
Lluís Batlle i Rossell 2010-09-01 08:34:44 +00:00
parent 517cc51331
commit ccf8be72c6

View file

@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
sed -i s,/bin/bash,${stdenv.shell}, configure version.sh
'';
configureFlags = [ "--enable-shared" ];
configureFlags = [ "--enable-shared" ]
++ stdenv.lib.optional (!stdenv.isi686) "--enable-pic";
buildInputs = [ yasm ];