k2pdfopt: link with pthreads explicitly

This commit is contained in:
Piotr Bogdan 2019-01-04 19:33:50 +00:00
parent 0d8bec14f0
commit 472c14af60

@ -104,6 +104,10 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DCMAKE_C_FLAGS=-I${src}/include_mod" ];
NIX_LDFLAGS = [
"-lpthread"
];
installPhase = ''
install -D -m 755 k2pdfopt $out/bin/k2pdfopt
'';