mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-03-23 08:23:26 +08:00
Fix makefile build with WITH_SQLITE disabled
When using WITH_SQLITE=no, the build system correctly avoids to compile the plugin, but the install step fails because it tries to install it even if it has not been compiled. This commit fixes this behaviour by totally omitting the plugin if WITH_SQLITE=no is specified, so no compilation and no installation is performed Signed-off-by: Jesús Fernández Manzano <jesus.fernandez@titanos.tv>
This commit is contained in:
committed by
Roger A. Light
parent
7809621098
commit
c6669ef715
@@ -3,9 +3,12 @@ DIRS= \
|
||||
dynamic-security \
|
||||
examples \
|
||||
password-file \
|
||||
persist-sqlite \
|
||||
sparkplug-aware
|
||||
|
||||
ifeq ($(WITH_SQLITE),yes)
|
||||
DIRS+=persist-sqlite
|
||||
endif
|
||||
|
||||
.PHONY : all binary check clean reallyclean test test-compile install uninstall
|
||||
|
||||
all :
|
||||
|
||||
@@ -23,11 +23,7 @@ OBJS = \
|
||||
OBJS_EXTERNAL = \
|
||||
json_help.o
|
||||
|
||||
ifeq ($(WITH_SQLITE),yes)
|
||||
ALL_DEPS:= binary
|
||||
else
|
||||
ALL_DEPS:=
|
||||
endif
|
||||
|
||||
all : ${ALL_DEPS}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user