From 78f7064c988d210bee39b6fda358238432a28ca3 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sun, 15 Jan 2023 19:24:30 -0500 Subject: [PATCH] Makefile: use pkg-config instead of curl-config --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f4da422..36fa60d 100644 --- a/Makefile +++ b/Makefile @@ -8,11 +8,10 @@ JSONLIBS = `$(PKG_CONFIG) --libs json-c` JSONINCS = `$(PKG_CONFIG) --cflags json-c` JSONFLAG = -DJSON -CURL_CONFIG = curl-config SRC = minrss.c util.c net.c handlers.c OBJ = $(SRC:.c=.o) -INCS = `$(PKG_CONFIG) --cflags libxml-2.0` `$(CURL_CONFIG) --cflags` $(JSONINC) -LIBS = `$(PKG_CONFIG) --libs libxml-2.0` `$(CURL_CONFIG) --libs` $(JSONLIBS) +INCS = `$(PKG_CONFIG) --cflags libxml-2.0` `$(PKG_CONFIG) --cflags libcurl` $(JSONINC) +LIBS = `$(PKG_CONFIG) --libs libxml-2.0` `$(PKG_CONFIG) --libs libcurl` $(JSONLIBS) WARN = -Wall -Wpedantic -Wextra CFLAGS = -std=c99 $(INCS) $(LIBS) $(WARN) -DVERSION=\"$(VERSION)\" $(JSONFLAG)