mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 18:56:31 +00:00
newlib: fix extract process for custom version
newlib: fix extract process for custom version If the user specifies the use of a custom newlib version, the logic in the extract function was reversed, so this step would fail. Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org> [yann.morin.1998@free.fr: keep leading indentation] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <c727adf1b7bd2c1e891d.1393353347@openSUSE-i7> Patchwork-Id: 324060
This commit is contained in:
parent
8e0a0d3c41
commit
3737334080
@ -29,7 +29,7 @@ do_libc_get() {
|
||||
|
||||
do_libc_extract() {
|
||||
# If using custom directory location, nothing to do
|
||||
if [ "${CT_LIBC_NEWLIB_CUSTOM}" != "y" \
|
||||
if [ "${CT_LIBC_NEWLIB_CUSTOM}" = "y" \
|
||||
-a -d "${CT_SRC_DIR}/newlib-${CT_LIBC_VERSION}" ]; then
|
||||
return 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user