未验证 提交 0763faea 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

Hotfix/sangshuduo/td 4477 install dep for lua (#6329)

* make lua build.sh install necessary lib and specify include path.

* [TD-4477]<hotfix>: install dependency package for tests/examples/lua build.sh.
Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
上级 b289b28a
gcc -std=c99 lua_connector.c -fPIC -shared -o luaconnector.so -Wall -ltaos lua_header_installed=`apt-cache policy liblua5.3-dev|grep Installed|grep none > /dev/null; echo $?`
if [ "$lua_header_installed" = "0" ]; then
echo "If need, please input root password to install liblua5.3-dev for build the connector.."
sudo apt install -y liblua5.3-dev
fi
gcc -std=c99 lua_connector.c -fPIC -shared -o luaconnector.so -Wall -ltaos -I/usr/include/lua5.3
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册