mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-24 00:54:01 +08:00
Fix makefile build with WITH_EDITLINE=no.
Closes #3484. Thanks to Matt Turner.
This commit is contained in:
+4
-1
@@ -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
|
||||
==================
|
||||
|
||||
+3
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user