Created attachment 12984 [details] fixed version of pdf-js-none.c pdf-js-none.c implements dummy functions from javascript.h but misses the pdf_drop_js function. When compiling mupdf with HAVE_MUJS := no, the compilation fails because of pdf-xref.c using an undefined reference to `pdf_drop_js' adding the missing dummy function solves the issue. see attached fix
In the latest version, pdf-js.c has both js and no-js versions, controlled by the FZ_ENABLE_JS define.