diff -uNr mupdf-1.15.0-source/Makerules mupdf-1.15.0-source.mod/Makerules
--- mupdf-1.15.0-source/Makerules	2019-05-06 14:53:09.000000000 +0300
+++ mupdf-1.15.0-source.mod/Makerules	2019-07-01 02:08:28.604522907 +0300
@@ -134,7 +134,7 @@
   HAVE_PTHREAD := yes
   ifeq ($(HAVE_PTHREAD),yes)
 	PTHREAD_CFLAGS :=
-	PTHREAD_LIBS := -lpthread
+	PTHREAD_LIBS :=
   endif
 
 endif
