diff options
-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) |