summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorMarcos H. Woehrmann <marcos.woehrmann@artifex.com>2013-03-19 19:45:08 -0700
committerMarcos H. Woehrmann <marcos.woehrmann@artifex.com>2013-03-19 19:45:08 -0700
commit9b439089b23139e0d0e17e8a54680f9e84e25dc8 (patch)
tree9cc4b4995378472d3e460664dbeec28ec931ad95 /Makerules
parent65d12cd5b97b4b6b43767713917bb422e7e1a834 (diff)
downloadmupdf-9b439089b23139e0d0e17e8a54680f9e84e25dc8.tar.xz
Fix compilation on Mac OS X by partially reverting 61c1f80d36.
Starting with 61c1f80d36bf1d946ce26d39f9afb99897fc9923 mupdf requires pkg-config to build. However pkg-config is not supplied with Xcode and is therefore not routinely installed on Mac OS X. Even if pkg-config were available it would not accomplish the goal of that commit (speed up compilation); on Mac OS X compilation would be slower.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index 4ff99e6d..28a98123 100644
--- a/Makerules
+++ b/Makerules
@@ -47,7 +47,7 @@ SYS_FREETYPE_INC := -I/usr/X11R6/include/freetype2
CFLAGS += -I/usr/X11R6/include
LDFLAGS += -L/usr/X11R6/lib
RANLIB_CMD = ranlib $@
-X11_LIBS := $(shell pkg-config --libs x11 xext)
+X11_LIBS := -lX11 -lXext
ifeq "$(arch)" "amd64"
CFLAGS += -m64
LDFLAGS += -m64