diff options
Diffstat (limited to 'doc/multi-threaded.c')
-rw-r--r-- | doc/multi-threaded.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/multi-threaded.c b/doc/multi-threaded.c index c6a3d652..3141e3c4 100644 --- a/doc/multi-threaded.c +++ b/doc/multi-threaded.c @@ -13,10 +13,8 @@ // Compile a debug build of mupdf, then compile and run this example: // -// gcc -g -o build/debug/example-mt -I fitz doc/multi-threading.c \ -// build/debug/libfitz.a build/debug/libfreetype.a \ -// build/debug/libopenjpeg.a build/debug/libjbig2dec.a \ -// build/debug/libjpeg.a -lpthread -lm +// gcc -g -o build/debug/example-mt -Iinclude doc/multi-threading.c \ +// build/debug/lib*.a -lpthread -lm // // build/debug/example-mt /path/to/document.pdf // @@ -26,7 +24,7 @@ // depending on your environment. // Include the MuPDF header file, and pthread's header file. -#include <fitz.h> +#include <mupdf/fitz.h> #include <pthread.h> // A convenience function for dying abruptly on pthread errors. |