You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rtpengine/lib/mqtt.Makefile

11 lines
296 B

have_mqtt := $(shell pkg-config --exists libmosquitto && echo yes)
ifeq ($(have_mqtt),yes)
mqtt_inc := $(shell pkg-config --cflags libmosquitto)
mqtt_lib := $(shell pkg-config --libs libmosquitto)
CFLAGS+= -DHAVE_MQTT
CFLAGS+= $(mqtt_inc)
endif
ifeq ($(have_mqtt),yes)
LDLIBS+= $(mqtt_lib)
endif