k2pdfopt: link with pthreads explicitly
This commit is contained in:
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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user