From bd4f8821142745bb772146c7b624fdb0824bdc23 Mon Sep 17 00:00:00 2001 From: nkcfan Date: Thu, 18 Apr 2024 22:21:31 -0700 Subject: [PATCH] Fix Makefile: if bin folder does not exist, create one. Otherwise there will be a "bin" file created --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 2c0fc2b72..bed799cae 100644 --- a/Makefile +++ b/Makefile @@ -284,6 +284,7 @@ install: build $(INSTALL_DATA) ${INSTALL_OPTS} ${MQTTLIB_CS_TARGET} $(DESTDIR)${libdir} $(INSTALL_DATA) ${INSTALL_OPTS} ${MQTTLIB_A_TARGET} $(DESTDIR)${libdir} $(INSTALL_DATA) ${INSTALL_OPTS} ${MQTTLIB_AS_TARGET} $(DESTDIR)${libdir} + mkdir -p $(DESTDIR)${bindir} $(INSTALL_PROGRAM) ${INSTALL_OPTS} ${MQTTVERSION_TARGET} $(DESTDIR)${bindir} $(INSTALL_PROGRAM) ${INSTALL_OPTS} ${PAHO_C_PUB_TARGET} $(DESTDIR)${bindir} $(INSTALL_PROGRAM) ${INSTALL_OPTS} ${PAHO_C_SUB_TARGET} $(DESTDIR)${bindir}