Merge pull request #1148 from dimkr/static-musl

Fix musl build when CT_SHARED_LIBS=n
This commit is contained in:
Alexey Neyman 2019-02-25 15:31:30 -08:00 committed by GitHub
commit 3915ee47d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,11 @@ musl_backend_once() {
extra_config+=("--enable-warnings")
fi
case "${CT_SHARED_LIBS}" in
y) extra_config+=("--enable-shared");;
*) extra_config+=("--disable-shared");;
esac
extra_config+=( "--enable-optimize=${CT_LIBC_MUSL_OPTIMIZE}" )
# Same problem as with uClibc: different variants sometimes have