OILS / build / static-oils.sh View on Github | oils.pub

17 lines, 8 significant
1#!/usr/bin/env bash
2#
3# Make a statically linked build. Works with GNU libc and musl libc.
4#
5# Usage:
6# build/static-oils.sh
7
8set -o nounset
9set -o pipefail
10set -o errexit
11
12main() {
13 LDFLAGS='-static' _build/oils.sh \
14 --suffix '-static' --without-readline --skip-rebuild
15}
16
17main "$@"