summaryrefslogtreecommitdiff
path: root/Makethird
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-08-14 13:34:51 +0200
committerTor Andersson <tor.andersson@artifex.com>2013-08-14 14:41:04 +0200
commit358898aefabc7ac13e26619911c90709dc1eaef7 (patch)
tree47445992e959221aa75b022d319238405fe47eb3 /Makethird
parentd812f7ca3a2d1f87b18d6583dad4abfc9d01b3ae (diff)
downloadmupdf-358898aefabc7ac13e26619911c90709dc1eaef7.tar.xz
Fix build of curl on macosx.
Only build mupdf-x11-curl if the curl thirdparty library exists.
Diffstat (limited to 'Makethird')
-rw-r--r--Makethird5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makethird b/Makethird
index 4a486ebd..d9730227 100644
--- a/Makethird
+++ b/Makethird
@@ -442,8 +442,7 @@ $(CURL_OUT)/%.o: $(CURL_DIR)/lib/%.c | $(CURL_OUT)
$(CC_CMD) $(CRL_CFLAGS)
CURL_CFLAGS := -I$(CURL_DIR)/include
-CURL_LIBS := -lpthread -lrt
+CURL_LIBS := $(SYS_CURL_DEPS)
else
-CURL_CFLAGS := $(SYS_CURL_CFLAGS)
-CURL_LIBS := $(SYS_CURL_LIBS)
+NOCURL := yes
endif