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 /docs/example.c | |
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.
Diffstat (limited to 'docs/example.c')
-rw-r--r-- | docs/example.c | 3 |
1 files changed, 3 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. |