tmux静态编译过程

cooolr 于 2022-07-20 发布
  1. 下载源码
git clone https://github.com/tmux/tmux.git
  1. 安装依赖
	sudo apt-get install autoconf automake pkg-config libevent-dev bison byacc
  1. 静态编译
./configure --with-pydebug LDFLAGS="-static" --disable-shared
make LDFLAGS="-static" LINKFORSHARED=" "