From ed4285674b9648e85e45e9aeadcc79bd8898790e Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 17 Aug 2021 14:12:14 +0800
Subject: [PATCH] Add 3rdparty local build shell script

---
 3rdparty/local/libgpiod/build.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/3rdparty/local/libgpiod/build.sh b/3rdparty/local/libgpiod/build.sh
index f7a7613..ac6b8f8 100755
--- a/3rdparty/local/libgpiod/build.sh
+++ b/3rdparty/local/libgpiod/build.sh
@@ -7,7 +7,7 @@
 #|           1, Initialize 1.0.0 on 2011.04.12
 #+--------------------------------------------------------------------------------------------
 
-
+PREFIX_PATH=/usr
 LYFTP_SRC=ftp://master.iot-yun.club/src/
 
 function msg_banner()
@@ -53,9 +53,9 @@
     tar -xzf ${SRC_NAME}.${PACK_SUFIX}
     cd ${SRC_NAME}
 
-    ./autogen.sh && ./configure --enable-tools
+    ./autogen.sh && sudo ./configure --prefix=${PREFIX_PATH} --enable-tools
 
-    make && make install
+    make && sudo make install
     
     cd -
 }

--
Gitblit v1.9.1