diff --git a/plugins/php/versions/common/readline.sh b/plugins/php/versions/common/readline.sh index 653f3a6b4..ae28ed1a7 100755 --- a/plugins/php/versions/common/readline.sh +++ b/plugins/php/versions/common/readline.sh @@ -63,7 +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 + export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${serverPath}/lib/libedit/lib/pkgconfig if [ "$sysName" == "Darwin" ];then cd ${rootPath}/plugins/php/lib && /bin/bash libedit.sh OPTIONS="$OPTIONS --with-libedit=${serverPath}/lib/libedit"