Update condition for building Ash

This commit is contained in:
Ariel Abreu 2023-04-29 10:08:04 -04:00
parent 34800f7f4c
commit e94c702e8d
No known key found for this signature in database
GPG Key ID: C06B805216EDEEED

View File

@ -78,8 +78,8 @@ add_darling_executable(expr ${CMAKE_CURRENT_BINARY_DIR}/expr.c)
# Apple now includes ash (predecessor of dash), but it seems they don't install it
# according to `sh.xcconfig`, there are plans to replace `/bin/sh` with ash, but for now they still use the bash version
# so for now, if users want this, they have to use ADDITIONAL_PACKAGES
if(ADDITIONAL_PACKAGES)
# so for now, if users want this, they have to use COMPONENT_cli_extra
if (COMPONENT_cli_extra)
add_subdirectory(sh)
endif()