diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2013-08-14 13:34:51 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2013-08-14 14:41:04 +0200 |
commit | 358898aefabc7ac13e26619911c90709dc1eaef7 (patch) | |
tree | 47445992e959221aa75b022d319238405fe47eb3 /Makefile | |
parent | d812f7ca3a2d1f87b18d6583dad4abfc9d01b3ae (diff) | |
download | mupdf-358898aefabc7ac13e26619911c90709dc1eaef7.tar.xz |
Fix build of curl on macosx.
Only build mupdf-x11-curl if the curl thirdparty library exists.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -239,11 +239,13 @@ $(MUVIEW_X11) : $(MUPDF_LIB) $(MUPDF_JS_NONE_LIB) $(THIRD_LIBS) $(MUVIEW_X11) : $(addprefix $(OUT)/platform/x11/, x11_main.o x11_image.o pdfapp.o) $(LINK_CMD) $(X11_LIBS) -MUVIEW_X11_CURL := $(OUT)/mupdf-curl +ifeq "$(NOCURL)" "" +MUVIEW_X11_CURL := $(OUT)/mupdf-x11-curl $(MUVIEW_X11_CURL) : $(MUPDF_LIB) $(MUPDF_JS_NONE_LIB) $(THIRD_LIBS) $(CURL_LIB) $(MUVIEW_X11_CURL) : $(addprefix $(OUT)/platform/x11/curl/, x11_main.o x11_image.o pdfapp.o curl_stream.o) $(LINK_CMD) $(X11_LIBS) $(CURL_LIBS) endif +endif ifeq "$(V8_PRESENT)" "yes" ifeq "$(NOX11)" "" @@ -258,7 +260,7 @@ MUVIEW := $(MUVIEW_X11) MUVIEW_V8 := $(MUVIEW_X11_V8) MUVIEW_CURL := $(MUVIEW_X11_CURL) -INSTALL_APPS := $(MUDRAW) $(MUTOOL) $(MUVIEW) $(MUJSTEST_V8) $(MUVIEW_V8) $(MUVIEW_X11_CURL) +INSTALL_APPS := $(MUDRAW) $(MUTOOL) $(MUVIEW) $(MUJSTEST_V8) $(MUVIEW_V8) $(MUVIEW_CURL) # --- Format man pages --- |