From c6dff0f738ecd7b1d8f7857dbf3b49fb23ee9b29 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 30 Jul 2019 23:27:21 +0800
Subject: [PATCH] Update setup_wiringPi shell script

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