From bb08fc172f25c751902b9a849fc5188f91d362f7 Mon Sep 17 00:00:00 2001
From: Guo Wenxue <guowenxue@gmail.com>
Date: Wed, 31 Jul 2019 18:16:57 +0800
Subject: [PATCH] update mqttd, test SHT2X support ok

---
 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