1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

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-*) "
'';