1diff -ruN mupdf-1.14.0-source.orig/Makerules mupdf-1.14.0-source/Makerules
2--- mupdf-1.14.0-source.orig/Makerules 2018-11-02 06:57:12.114012496 +0100
3+++ mupdf-1.14.0-source/Makerules 2018-11-02 10:11:56.717232992 +0100
4@@ -80,13 +80,6 @@
5 HAVE_GLUT := yes
6 SYS_GLUT_CFLAGS := -Wno-deprecated-declarations
7 SYS_GLUT_LIBS := -framework GLUT -framework OpenGL
8- CC = xcrun cc
9- AR = xcrun ar
10- LD = xcrun ld
11- RANLIB = xcrun ranlib
12-
13-else ifeq ($(OS),Linux)
14- HAVE_OBJCOPY := yes
15
16 ifeq ($(shell pkg-config --exists freetype2 && echo yes),yes)
17 SYS_FREETYPE_CFLAGS := $(shell pkg-config --cflags freetype2)
18@@ -119,12 +112,6 @@
19 SYS_CURL_LIBS := $(shell pkg-config --libs libcurl)
20 endif
21
22- HAVE_GLUT := yes
23- ifeq ($(HAVE_GLUT),yes)
24- SYS_GLUT_CFLAGS :=
25- SYS_GLUT_LIBS := -lglut -lGL
26- endif
27-
28 HAVE_X11 := $(shell pkg-config --exists x11 xext && echo yes)
29 ifeq ($(HAVE_X11),yes)
30 X11_CFLAGS := $(shell pkg-config --cflags x11 xext)