From: Martin Mareš Date: Sat, 16 Aug 2025 16:06:53 +0000 (+0200) Subject: bsb-logger: Fix compilation X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=cbe09b5a0c49a39c32539f391a583c2fca2f72ae;p=home-hw.git bsb-logger: Fix compilation --- diff --git a/bsb/logger/Makefile b/bsb/logger/Makefile index 26311cf..c9f5def 100644 --- a/bsb/logger/Makefile +++ b/bsb/logger/Makefile @@ -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 diff --git a/bsb/logger/burrow-bsb-logger.c b/bsb/logger/burrow-bsb-logger.c index f3489ef..7399e29 100644 --- a/bsb/logger/burrow-bsb-logger.c +++ b/bsb/logger/burrow-bsb-logger.c @@ -18,7 +18,6 @@ #include #include -#include #include #define LOG_DIR "/var/log/bsb"