From d634817310a7186e9a84a65bb135d850d0adee17 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Tue, 17 Aug 2021 14:32:40 +0800 Subject: [PATCH] update 3rdparty local build shell script --- 3rdparty/local/libgpiod/build.sh | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/3rdparty/local/libgpiod/build.sh b/3rdparty/local/libgpiod/build.sh index f7a7613..3d265f4 100755 --- a/3rdparty/local/libgpiod/build.sh +++ b/3rdparty/local/libgpiod/build.sh @@ -1,13 +1,13 @@ #!/bin/bash #+-------------------------------------------------------------------------------------------- -#|Description: This shell script used download and compile MQTT C library mosquitto for ARM +#|Description: This shell script used download and compile libgpiod for RaspberryPi #| Author: GuoWenxue <guowenxue@gmail.com> #| ChangeLog: -#| 1, Initialize 1.0.0 on 2011.04.12 +#| 1, Initialize 1.0.0 on 2021.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