diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2013-11-11 14:59:21 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2013-11-11 16:12:45 +0100 |
commit | cdc3d601bfe1f16ea96f35526644eaf53415be80 (patch) | |
tree | a6a0f169c90493126fee0be24816c3fb35cec222 | |
parent | 0ac19f1102ab7ab8f3152c2e2760249ba82cf385 (diff) | |
download | mupdf-cdc3d601bfe1f16ea96f35526644eaf53415be80.tar.xz |
Remove unneccessary CURL_CFLAGS from non-curl make targets.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | Makerules | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -143,7 +143,7 @@ $(OUT)/%.o : scripts/%.c | $(OUT) $(CC_CMD) $(OUT)/platform/x11/%.o : platform/x11/%.c | $(ALL_DIR) - $(CC_CMD) $(X11_CFLAGS) $(CURL_CFLAGS) + $(CC_CMD) $(X11_CFLAGS) $(OUT)/platform/x11/curl/%.o : platform/x11/%.c | $(ALL_DIR) $(CC_CMD) $(X11_CFLAGS) $(CURL_CFLAGS) -DHAVE_CURL @@ -59,6 +59,7 @@ SYS_OPENSSL_CFLAGS = -DHAVE_OPENSSL $(shell pkg-config --cflags libcrypto) SYS_OPENSSL_LIBS = $(shell pkg-config --libs libcrypto) endif +# TODO: use pkg-config for system CURL SYS_CURL_DEPS = -lpthread -lrt SYS_X11_CFLAGS = $(shell pkg-config --cflags x11 xext) |