From ee83fc12d7cda0641d45dab6855f9abb1189618d Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 17 Aug 2021 15:52:31 +0800
Subject: [PATCH] update setup_systools.sh  for  libssl1.1

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

diff --git a/modules/c/makefile b/modules/c/makefile
index 9eaad45..240ce22 100644
--- a/modules/c/makefile
+++ b/modules/c/makefile
@@ -18,7 +18,11 @@
 CFLAGS+=-I${PWD}
 #CFLAGS+=-Wall -Werror
 
+# default use libgpiod library
+#CFLAGS+=-DCONFIG_USE_WIRINGPI
+
 LDFLAGS+=-lwiringPi
+LDFLAGS+=-lgpiod
 LDFLAGS+=-lpthread
 LDFLAGS+=-lm
 

--
Gitblit v1.9.1