summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2014-05-08 14:07:01 +0200
committerTor Andersson <tor.andersson@artifex.com>2014-05-08 14:19:39 +0200
commit2ad14d533de5b91e4f40ce01077efcdeb201b8ce (patch)
treef4e9887a22d8a986bc19390b0256f0600f087ebf /Makerules
parentb2f7be4877598bdba3676ec93fcd004f275ccce5 (diff)
downloadmupdf-2ad14d533de5b91e4f40ce01077efcdeb201b8ce.tar.xz
Fix curl build with thirdparty module when system curl is available too.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makerules b/Makerules
index 6b1b3afd..75573dab 100644
--- a/Makerules
+++ b/Makerules
@@ -67,9 +67,8 @@ ifeq "$(shell pkg-config --exists libcurl && echo yes)" "yes"
HAVE_CURL = yes
SYS_CURL_CFLAGS = $(shell pkg-config --cflags libcurl)
SYS_CURL_LIBS = $(shell pkg-config --libs libcurl)
-else
-SYS_CURL_DEPS = -lpthread -lrt
endif
+SYS_CURL_DEPS = -lpthread -lrt
SYS_X11_CFLAGS = $(shell pkg-config --cflags x11 xext)
SYS_X11_LIBS = $(shell pkg-config --libs x11 xext)