diff --git a/Makefile b/Makefile index 9b852c3243..20040a1a2b 100644 --- a/Makefile +++ b/Makefile @@ -472,6 +472,7 @@ libs: $(LIBS_TO_INSTALL_IN_BIN) $(LIBS_TO_INSTALL_IN_LIB) $(COMMERCIAL_LIBS) commercial-libs: $(COMMERCIAL_LIBS) tools: $(TOOL_APPS) apps: $(TOOL_APPS) $(VIEW_APPS) +libmupdf-threads: $(THREAD_LIB) install-headers: install -d $(DESTDIR)$(incdir)/mupdf diff --git a/scripts/wrap/__main__.py b/scripts/wrap/__main__.py index ddd23a2815..6b857680dc 100644 --- a/scripts/wrap/__main__.py +++ b/scripts/wrap/__main__.py @@ -1161,6 +1161,8 @@ def _get_m_command( build_dirs, j=None, make=None, m_target=None, m_vars=None): if m_target: for t in m_target.split(','): make_args += f' {t}' + else: + make_args += f' libs libmupdf-threads' command = f'cd {build_dirs.dir_mupdf} &&' if make_env: command += make_env @@ -1629,7 +1631,7 @@ def fn(name): f' platform/{win32_infix}/mupdf.sln' f' /Build "{build}"' ) - projects = ['mupdfcpp'] + projects = ['mupdfcpp', 'libmuthreads'] if m_target: projects += m_target.split(',') for project in projects: