From a574ce7edf7f31847be882f9f08dcd1ab8e5ebe0 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 18 Nov 2025 16:00:47 +0800
Subject: [PATCH] update lightd and thingsboard
---
project/thingsboard/makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/project/thingsboard/makefile b/project/thingsboard/makefile
index 796bb6c..f204d55 100644
--- a/project/thingsboard/makefile
+++ b/project/thingsboard/makefile
@@ -39,7 +39,7 @@
# libraries
libs=openlibs ${SRCS}
-LDFLAGS+=-lmosquitto -lcjson -lssl -lcrypto -lgpiod
+LDFLAGS+=-lmosquitto -lcjson -lssl -lcrypto -lgpiod -lm
LDFLAGS+=-lpthread
@@ -51,7 +51,7 @@
subdir:
@for dir in ${libs} ; do if [ ! -e $${dir} ] ; then ln -s ../$${dir}; fi; done
- @for dir in ${libs} ; do make -C $${dir} ; done
+ @for dir in ${libs} ; do CFLAGS="${CFLAGS}" make -C $${dir} ; done
install:
cp ${APP_NAME} /tftp
--
Gitblit v1.9.1