mupdf: build with -fpic

This commit is contained in:
Kirill Elagin 2014-05-17 16:14:07 +04:00
parent d9cf906516
commit fec634c25a

View File

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
preBuild = ''
export makeFlags="prefix=$out build=release"
export makeFlags="prefix=$out build=release XCFLAGS=-fpic"
export NIX_CFLAGS_COMPILE=" $NIX_CFLAGS_COMPILE -I$(echo ${openjpeg}/include/openjpeg-*) "
'';