use curl-config instead of pkg-config.

This commit is contained in:
Joris Vink 2019-10-28 12:18:15 +01:00
parent 4808365f8a
commit 18c76abab3

View File

@ -104,8 +104,8 @@ endif
ifneq ("$(CURL)", "")
S_SRC+=src/curl.c
KORE_CURL_LIB?=$(shell pkg-config --libs libcurl)
KORE_CURL_INC?=$(shell pkg-config --cflags libcurl)
KORE_CURL_LIB?=$(shell curl-config --libs)
KORE_CURL_INC?=$(shell curl-config --cflags)
LDFLAGS+=$(KORE_CURL_LIB)
CFLAGS+=$(KORE_CURL_INC) -DKORE_USE_CURL
FEATURES+=-DKORE_USE_CURL