Skip to content

Commit

Permalink
Fix installation using WITH_TLS=no.
Browse files Browse the repository at this point in the history
Closes #2281. Thanks to Matt Turner.
  • Loading branch information
ralight committed Aug 20, 2021
1 parent 93b2232 commit 342aa0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.txt
Expand Up @@ -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
===================

Expand Down
2 changes: 2 additions & 0 deletions apps/mosquitto_passwd/Makefile
Expand Up @@ -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"
Expand Down

0 comments on commit 342aa0a

Please sign in to comment.