mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-05-21 12:24:29 +02:00
Fix makefile build with WITH_EDITLINE=no.
Closes #3484. Thanks to Matt Turner.
This commit is contained in:
parent
800ec38e22
commit
2d2950a6a5
|
|
@ -5,10 +5,13 @@
|
|||
- Fix MOSQ_EVT_DISCONNECT being called before MOSQ_EVT_ACL_CHECK for the will
|
||||
of that client. Closes #3487.
|
||||
|
||||
Plugins
|
||||
# Plugins
|
||||
- Fix migrate_to_persist_sqlite.py not base64 decoding message payloads when
|
||||
migrating. Closes #3492.
|
||||
|
||||
# Build:
|
||||
- Fix test building with WITH_EDITLINE=no. Closes #3484.
|
||||
|
||||
|
||||
2.1.2 - 2026-02-09
|
||||
==================
|
||||
|
|
|
|||
|
|
@ -15,9 +15,11 @@ LOCAL_CPPFLAGS+= \
|
|||
LOCAL_CXXFLAGS+=-std=c++20 -Wall -ggdb -D TEST_SOURCE_DIR='"$(realpath .)"'
|
||||
|
||||
MOCKS = \
|
||||
editline_mock.o \
|
||||
pthread_mock.o
|
||||
|
||||
ifeq ($(WITH_EDITLINE),yes)
|
||||
MOCKS+=editline_mock.o
|
||||
endif
|
||||
|
||||
all : test-compile
|
||||
test-compile : ${MOCKS}
|
||||
|
|
|
|||
|
|
@ -18,10 +18,16 @@ LOCAL_CXXFLAGS+=-std=c++20 -Wall -ggdb -D TEST_SOURCE_DIR='"$(realpath .)"'
|
|||
MOCK_OBJS = \
|
||||
ctrl_shell_mock.o
|
||||
|
||||
ifeq ($(WITH_EDITLINE),yes)
|
||||
all : test-compile
|
||||
|
||||
test-compile: ${MOCK_OBJS}
|
||||
check : test
|
||||
else
|
||||
all :
|
||||
test-compile:
|
||||
check :
|
||||
endif
|
||||
|
||||
|
||||
# MOCKS
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue