From 4a84ac1e75212a5625ff6b83c413692bb83ce95d Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 16 Jul 2019 01:59:37 +0800
Subject: [PATCH] Update mqttd/makefile, fix mosquitto library build bug

---
 modules/c/makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/c/makefile b/modules/c/makefile
index c4d4d6e..9eaad45 100644
--- a/modules/c/makefile
+++ b/modules/c/makefile
@@ -20,6 +20,7 @@
 
 LDFLAGS+=-lwiringPi
 LDFLAGS+=-lpthread
+LDFLAGS+=-lm
 
 VPATH= .
 SRCS = $(wildcard ${VPATH}/*.c)

--
Gitblit v1.9.1