From 985548471892c5f2a7430c5f7b4c03fe39f0134f Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 25 Jun 2019 21:55:18 +0800
Subject: [PATCH] Update mqttd program, add cJSON parser and test ok with memory leak

---
 mqttd/makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/mqttd/makefile b/mqttd/makefile
index a9007c9..050907b 100644
--- a/mqttd/makefile
+++ b/mqttd/makefile
@@ -37,9 +37,12 @@
 export CFLAGS
 export LDFLAGS
 
+
 CFLAGS+=-Ihal -Ilylib
 LDFLAGS+=-L hal -lhal -Llylib -llylib
 
+LDFLAGS+=-lmosquitto -lpthread -lm
+
 SRCFILES = $(wildcard *.c)
 IMAGE_NAME=$(shell basename ${PWD})
 

--
Gitblit v1.9.1