tmux/.github/travis/build.sh

26 lines
382 B
Bash
Raw Normal View History

2020-05-03 10:09:36 +00:00
#!/bin/sh
sh autogen.sh || exit 1
2020-05-03 10:47:28 +00:00
case "$BUILD" in
static)
./configure --enable-static || exit 1
exec make
;;
all)
sh $(dirname $0)/build-all.sh
exec make
;;
2020-05-03 11:33:47 +00:00
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
;;
2020-05-03 10:47:28 +00:00
*)
./configure || exit 1
exec make
;;
esac