mirror of
https://github.com/tmux/tmux.git
synced 2024-11-01 07:08:49 +00:00
26 lines
382 B
Bash
26 lines
382 B
Bash
#!/bin/sh
|
|
|
|
sh autogen.sh || exit 1
|
|
case "$BUILD" in
|
|
static)
|
|
./configure --enable-static || exit 1
|
|
exec make
|
|
;;
|
|
all)
|
|
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
|
|
;;
|
|
esac
|