slack: reuse http_client api
[kamailio] / src / modules / slack / Makefile
index 833d438..9bc748a 100644 (file)
@@ -8,24 +8,5 @@ include ../../Makefile.defs
 auto_gen=
 NAME=slack.so
 
-ifeq ($(CROSS_COMPILE),)
-CURL_BUILDER=$(shell \
-        if pkg-config --exists libcurl; then \
-                echo 'pkg-config libcurl'; \
-        else \
-                which curl-config; \
-        fi)
-endif
-
-ifneq ($(CURL_BUILDER),)
-        CURLDEFS += $(shell $(CURL_BUILDER) --cflags)
-        CURLLIBS += $(shell $(CURL_BUILDER) --libs)
-else
-        CURLDEFS+=-I$(LOCALBASE)/include -I$(SYSBASE)/include
-        CURLLIBS+=-L$(LOCALBASE)/lib -L$(SYSBASE)/lib -lcurl
-endif
-
-DEFS+=$(CURLDEFS)
-LIBS=$(CURLLIBS)
 
 include ../../Makefile.modules