From c7685f9912e89509acff5d2db54f9b3e955df2ee Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 10 Apr 2022 17:38:45 +0800
Subject: [PATCH] Update mosquitto build shell script to fix install bug

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

diff --git a/modules/c/makefile b/modules/c/makefile
index c4d4d6e..e397ab0 100644
--- a/modules/c/makefile
+++ b/modules/c/makefile
@@ -18,8 +18,9 @@
 CFLAGS+=-I${PWD}
 #CFLAGS+=-Wall -Werror
 
-LDFLAGS+=-lwiringPi
+LDFLAGS+=-lgpiod
 LDFLAGS+=-lpthread
+LDFLAGS+=-lm
 
 VPATH= .
 SRCS = $(wildcard ${VPATH}/*.c)

--
Gitblit v1.9.1