From d37f651f232abca59bf6e1f371281e85beecf5be Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 5 Dec 2024 00:37:33 +0800 Subject: [PATCH] Update readline.sh --- plugins/php/versions/common/readline.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/php/versions/common/readline.sh b/plugins/php/versions/common/readline.sh index 0c9554019..653f3a6b4 100755 --- a/plugins/php/versions/common/readline.sh +++ b/plugins/php/versions/common/readline.sh @@ -2,7 +2,7 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin:/opt/homebrew/bin export PATH=$PATH:/opt/homebrew/bin -# cd /www/server/mdserver-web/plugins/php/versions/common && bash readline.sh install 54 +# cd /www/server/mdserver-web/plugins/php/versions/common && bash readline.sh install 81 curPath=`pwd` @@ -63,6 +63,7 @@ Install_lib() OPTIONS="$OPTIONS --build=aarch64-unknown-linux-gnu --host=aarch64-unknown-linux-gnu" fi + export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${serverPath}/lib/pkgconfig if [ "$sysName" == "Darwin" ];then cd ${rootPath}/plugins/php/lib && /bin/bash libedit.sh OPTIONS="$OPTIONS --with-libedit=${serverPath}/lib/libedit"