summaryrefslogtreecommitdiff
path: root/docs/multi-threaded.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-01-05 12:13:12 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-01-05 14:47:37 +0100
commit4d45a50c5efb68be44a2e39bf12a4a11353acc4f (patch)
tree253365a8cd1c4e4a57b132997b49b3798ef05fae /docs/multi-threaded.c
parent96a54896ee453a453b25a9c9e5c6ba8d0caba7cc (diff)
downloadmupdf-4d45a50c5efb68be44a2e39bf12a4a11353acc4f.tar.xz
Link required thirdparty libraries into one library: libmupdfthird.a
Keep the extra thirdparty libraries (curl and glfw) separate. This matches the build process for android and win32. Also purge some unused makefile sections.
Diffstat (limited to 'docs/multi-threaded.c')
-rw-r--r--docs/multi-threaded.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/docs/multi-threaded.c b/docs/multi-threaded.c
index eb66db07..a8e2d204 100644
--- a/docs/multi-threaded.c
+++ b/docs/multi-threaded.c
@@ -15,13 +15,8 @@
//
// gcc -g -o build/debug/example-mt -Iinclude docs/multi-threaded.c \
// build/debug/libmupdf.a \
-// build/debug/libfreetype.a build/debug/libjbig2dec.a \
-// build/debug/libjpeg.a build/debug/libopenjpeg.a \
-// 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/libmupdfthird.a \
+// -lpthread -lcrypto -lm
//
// build/debug/example-mt /path/to/document.pdf
//