mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 13:47:48 +00:00
Fix musl build when CT_SHARED_LIBS=n
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
This commit is contained in:
parent
2a1e0cb031
commit
55fe8a8ba7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user