-
-
Save andybe/a37f9e41858430a54eb25f75b27389e0 to your computer and use it in GitHub Desktop.
Tmux static build on Mac OSX with command-line tools only
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://libevent.org | |
tar xf libevent-2.1.12-stable.tar.gz | |
cd libevent-2.1.12-stable | |
./configure --enable-static --disable-shared --disable-openssl --prefix=/tmp/libevent | |
make install | |
cd .. | |
https://github.com/tmux/tmux/releases/tag/3.3a | |
tar xf tmux-3.3.a.tar.gz | |
cd tmux-3.3a | |
./configure LDFLAGS="-L/tmp/libevent/lib" CFLAGS="-I/tmp/libevent/include" --disable-utf8proc --prefix=/usr/local | |
make | |
sudo make install | |
rm -rf /tmp/libevent | |
uninstall | |
sudo rm -rf /usr/local/bin/tmux /usr/local/share/man/man1/tmux.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment