diff --git a/Dockerfile b/Dockerfile index bf3dedc..a179b39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM alpine:3.16 AS builder -ARG RECORDER_VERSION=0.9.1 +ARG RECORDER_VERSION=0.9.2 # ARG RECORDER_VERSION=master RUN apk add --no-cache \ diff --git a/config.mk b/config.mk index 26f4cae..6a57bbe 100644 --- a/config.mk +++ b/config.mk @@ -67,8 +67,8 @@ JSON_INDENT ?= no CONFIGFILE = /config/recorder.conf # Optionally specify the path to the Mosquitto libs, include here -MOSQUITTO_INC = -I/usr/include -MOSQUITTO_LIB = -L/usr/lib +MOSQUITTO_CFLAGS = `$(PKG_CONFIG) --cflags libmosquitto` +MOSQUITTO_LIBS = `$(PKG_CONFIG) --libs libmosquitto` # Debian requires uuid-dev # RHEL/CentOS needs libuuid-devel