Skip to content
Snippets Groups Projects
Commit b3d24e08 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Add support for WITHOUT_MOSQUITTO

I'm doing builds for my jail (which doesn't have libmosquitto) on
my system that does have it now, so I need to disable it manually.
parent 44c3350f
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4437 failed
...@@ -89,6 +89,7 @@ ifeq ($(os),linux) ...@@ -89,6 +89,7 @@ ifeq ($(os),linux)
CON_LIBS += -lsystemd CON_LIBS += -lsystemd
endif endif
endif endif
ifndef WITHOUT_MOSQUITTO
ifneq ($(os), win32) ifneq ($(os), win32)
ifeq ($(shell pkg-config libmosquitto --exists && echo "yes"),yes) ifeq ($(shell pkg-config libmosquitto --exists && echo "yes"),yes)
CFLAGS += -DUSE_MOSQUITTO CFLAGS += -DUSE_MOSQUITTO
...@@ -97,6 +98,7 @@ ifneq ($(os), win32) ...@@ -97,6 +98,7 @@ ifneq ($(os), win32)
JS_LIBS += $(shell pkg-config libmosquitto --libs) JS_LIBS += $(shell pkg-config libmosquitto --libs)
endif endif
endif endif
endif
include sbbsdefs.mk include sbbsdefs.mk
MT_CFLAGS += $(SBBSDEFS) MT_CFLAGS += $(SBBSDEFS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment