summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--Makerules1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7004eef3..dbe9936f 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/Makerules b/Makerules
index 6f7b3f28..e52571ec 100644
--- a/Makerules
+++ b/Makerules
@@ -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)