summaryrefslogtreecommitdiff
path: root/Makethird
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-05-16 20:00:23 +0200
committerRobin Watts <robin.watts@artifex.com>2013-05-16 19:48:00 +0100
commitc97b4b45e272b45be9c8670623c3075a069aa328 (patch)
tree382c8cdf5d938368997e190e5bf6a34b7e08d4d5 /Makethird
parentbd608dea4271ae256bad7dacee6acc605c2d6580 (diff)
downloadmupdf-c97b4b45e272b45be9c8670623c3075a069aa328.tar.xz
Only link with X11 for X11 viewer.
Diffstat (limited to 'Makethird')
-rw-r--r--Makethird4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makethird b/Makethird
index 832b0645..42264faf 100644
--- a/Makethird
+++ b/Makethird
@@ -253,5 +253,7 @@ ifeq "$(NOX11)" ""
SYS_X11_CFLAGS := $(SYS_X11_CFLAGS)
SYS_X11_LIBS := $(SYS_X11_LIBS)
CFLAGS += $(SYS_X11_CFLAGS)
-LIBS += $(SYS_X11_LIBS)
+else
+SYS_X11_CFLAGS :=
+SYS_X11_LIBS :=
endif