diff options
author | Robin Watts <robin.watts@artifex.com> | 2015-06-10 10:49:13 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2015-06-11 18:48:29 +0100 |
commit | 7b5720137cef833476d4015cce6402e3c272ccad (patch) | |
tree | 5e24cbf9d594074990ba74c35a58495aad6ab3c0 | |
parent | c22548d0539d35beb7230bcf94121ef596f4345b (diff) | |
download | mupdf-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.
-rw-r--r-- | docs/example.c | 3 | ||||
-rw-r--r-- | docs/multi-threaded.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/example.c b/docs/example.c index 71506c9e..257e17f9 100644 --- a/docs/example.c +++ b/docs/example.c @@ -9,6 +9,9 @@ // build/debug/libmujs.a \ // build/debug/libz.a -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 /path/to/document.pdf 1 200 25 // Include the MuPDF header file. 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 |