diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-11-13 12:45:50 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-11-13 17:05:16 +0100 |
commit | 65be3177c793bb132c36f3e6bb87c3a6947be4e0 (patch) | |
tree | 70bc8256fd4de46b912e432932d5dc807c5b4dc8 /Makethird | |
parent | af95ed2a3402ecf65ff744b45c3053bc811d4ada (diff) | |
download | mupdf-65be3177c793bb132c36f3e6bb87c3a6947be4e0.tar.xz |
gl: Fix GLUT build on MacOS X.
Diffstat (limited to 'Makethird')
-rw-r--r-- | Makethird | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -663,6 +663,11 @@ endif ifneq "$(wildcard $(GLUT_DIR)/README)" "" +ifeq "$(OS)" "MACOS" +GLUT_CFLAGS := $(SYS_GLUT_CFLAGS) +GLUT_LIBS := $(SYS_GLUT_LIBS) +else + HAVE_GLUT := yes GLUT_LIB := $(OUT)/libfreeglut.a @@ -727,6 +732,8 @@ $(GLUT_OUT)/%.o: $(GLUT_DIR)/src/x11/%.c | $(GLUT_OUT) GLUT_CFLAGS := -I$(GLUT_DIR)/include GLUT_LIBS := -lGL -lX11 -lXrandr + +endif else GLUT_CFLAGS := $(SYS_GLUT_CFLAGS) GLUT_LIBS := $(SYS_GLUT_LIBS) |