mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
jbigkit: Needs fPIC for library support
This commit is contained in:
parent
0cb847652e
commit
c8021333d4
@ -8,6 +8,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0cnrcdr1dwp7h7m0a56qw09bv08krb37mpf7cml5sjdgpyv0cwfy";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's/^\(CFLAGS.*\)$/\1 -fPIC/' Makefile
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -D -m644 libjbig/libjbig.a $out/lib/libjbig.a
|
||||
install -D -m644 libjbig/libjbig85.a $out/lib/libjbig85.a
|
||||
|
Loading…
Reference in New Issue
Block a user