Fix musl build when CT_SHARED_LIBS=n

Signed-off-by: Dima Krasner <dima@dimakrasner.com>
This commit is contained in:
Dima Krasner 2019-02-24 09:36:46 +02:00
parent 2a1e0cb031
commit 55fe8a8ba7

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