]> mj.ucw.cz Git - home-hw.git/commitdiff
bsb-logger: Fix compilation
authorMartin Mareš <mj@ucw.cz>
Sat, 16 Aug 2025 16:06:53 +0000 (18:06 +0200)
committerMartin Mareš <mj@ucw.cz>
Sat, 16 Aug 2025 16:06:53 +0000 (18:06 +0200)
bsb/logger/Makefile
bsb/logger/burrow-bsb-logger.c

index 26311cf31c101f6443a40eb36d3606d53643465a..c9f5def3ba306351c3fe6386bd48eec5c308f23c 100644 (file)
@@ -2,8 +2,8 @@ PC=pkg-config
 UCW_CFLAGS := $(shell $(PC) --cflags libucw)
 UCW_LIBS := $(shell $(PC) --libs libucw)
 
-CFLAGS=$(UCW_CFLAGS) $(CURL_CFLAGS) -std=gnu99
-LDFLAGS=$(UCW_LIBS) $(CURL_LIBS) -lmosquitto
+CFLAGS=$(UCW_CFLAGS) -std=gnu99
+LDLIBS=$(UCW_LIBS) -lmosquitto
 
 all: burrow-bsb-logger
 
index f3489effa45ab7d78a53abeeb781b86ba29fff4a..7399e29e6fa2ea7570c5748891856f5a4192f3a7 100644 (file)
@@ -18,7 +18,6 @@
 #include <time.h>
 #include <unistd.h>
 
-#include <curl/curl.h>
 #include <mosquitto.h>
 
 #define LOG_DIR "/var/log/bsb"