jbigkit: Needs fPIC for library support
This commit is contained in:
parent
0cb847652e
commit
c8021333d4
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue