Fix installation using WITH_TLS=no.
Closes #2281. Thanks to Matt Turner.
This commit is contained in:
parent
93b2232bb9
commit
342aa0ad1a
@ -32,6 +32,9 @@ Clients:
|
||||
- mosquitto_sub and mosquitto_rr now open stdout in binary mode on Windows
|
||||
so binary payloads are not modified when printing.
|
||||
|
||||
Build:
|
||||
- Fix installation using WITH_TLS=no. Closes #2281.
|
||||
|
||||
2.0.11 - 2021-06-08
|
||||
===================
|
||||
|
||||
|
@ -37,8 +37,10 @@ password_mosq.o : ../../src/password_mosq.c ../../src/password_mosq.h
|
||||
${CROSS_COMPILE}${CC} $(APP_CPPFLAGS) $(APP_CFLAGS) -c $< -o $@
|
||||
|
||||
install : all
|
||||
ifeq ($(WITH_TLS),yes)
|
||||
$(INSTALL) -d "${DESTDIR}$(prefix)/bin"
|
||||
$(INSTALL) ${STRIP_OPTS} mosquitto_passwd "${DESTDIR}${prefix}/bin/mosquitto_passwd"
|
||||
endif
|
||||
|
||||
uninstall :
|
||||
-rm -f "${DESTDIR}${prefix}/bin/mosquitto_passwd"
|
||||
|
Loading…
Reference in New Issue
Block a user