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:
parent
d9cf906516
commit
fec634c25a
|
@ -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-*) "
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue