mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Add musl builds.
This commit is contained in:
5
.github/travis/before-install.sh
vendored
5
.github/travis/before-install.sh
vendored
@ -9,4 +9,9 @@ if [ "$TRAVIS_OS_NAME" = "linux" ]; then
|
||||
pkg-config \
|
||||
libutempter-dev \
|
||||
build-essential
|
||||
|
||||
if [ "$BUILD" = "musl" ]; then
|
||||
sudo apt-get -y install musl-dev \
|
||||
musl-tools
|
||||
fi
|
||||
fi
|
||||
|
8
.github/travis/build.sh
vendored
8
.github/travis/build.sh
vendored
@ -10,6 +10,14 @@ case "$BUILD" in
|
||||
sh $(dirname $0)/build-all.sh
|
||||
exec make
|
||||
;;
|
||||
musl)
|
||||
CC=musl-gcc sh $(dirname $0)/build-all.sh
|
||||
exec make
|
||||
;;
|
||||
musl-static)
|
||||
CC=musl-gcc sh $(dirname $0)/build-all.sh --enable-static
|
||||
exec make
|
||||
;;
|
||||
*)
|
||||
./configure || exit 1
|
||||
exec make
|
||||
|
Reference in New Issue
Block a user