summaryrefslogtreecommitdiff
path: root/docs/multi-threaded.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2015-06-10 10:49:13 +0100
committerRobin Watts <robin.watts@artifex.com>2015-06-11 18:48:29 +0100
commit7b5720137cef833476d4015cce6402e3c272ccad (patch)
tree5e24cbf9d594074990ba74c35a58495aad6ab3c0 /docs/multi-threaded.c
parentc22548d0539d35beb7230bcf94121ef596f4345b (diff)
downloadmupdf-7b5720137cef833476d4015cce6402e3c272ccad.tar.xz
Update make instructions in examples to allow for crypto lib.
If libcrypto is installed then the Make system will cause HAVE_OPENSSL to be defined during the build. This pulls in dependencies on libcrypto, so this needs to be included in the link.
Diffstat (limited to 'docs/multi-threaded.c')
-rw-r--r--docs/multi-threaded.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/multi-threaded.c b/docs/multi-threaded.c
index f0432b07..98932819 100644
--- a/docs/multi-threaded.c
+++ b/docs/multi-threaded.c
@@ -20,6 +20,9 @@
// build/debug/libmujs.a \
// build/debug/libz.a -lpthread -lm
//
+// (If this fails with errors about missing BIO_ and X509_ references
+// try again with "-lcrypto" added to the end of that command).
+//
// build/debug/example-mt /path/to/document.pdf
//
// Caution! As all pages are rendered simultaneously, please choose a