@@ -51,14 +51,14 @@ if [[ "$CIBW_PLATFORM" == "ios" ]]; then
5151 # GNU Autotools doesn't recognize the existence of arm64-apple-ios-simulator
5252 # as a valid host. However, the only difference between arm64-apple-ios and
5353 # arm64-apple-ios-simulator is the choice of sysroot, and that is
54- # coordinated by CC,CFLAGS etc. From the perspective of configure, the two
54+ # coordinated by CC, CFLAGS etc. From the perspective of configure, the two
5555 # platforms are identical, so we can use arm64-apple-ios consistently.
5656 # This (mostly) avoids us needing to patch config.sub in dependency sources.
5757 HOST_CONFIGURE_FLAGS=" --disable-shared --enable-static --host=$GNU_ARCH -apple-ios --build=$GNU_ARCH -apple-darwin"
5858
59- # Cmake has native support for iOS. However, most of that support is based
59+ # CMake has native support for iOS. However, most of that support is based
6060 # on using the Xcode builder, which isn't very helpful for most of Pillow's
61- # dependencies. Therefore, we lean on the OSX configurations, plus CC/ CFLAGS
61+ # dependencies. Therefore, we lean on the OSX configurations, plus CC, CFLAGS
6262 # etc. to ensure the right sysroot is selected.
6363 HOST_CMAKE_FLAGS=" -DCMAKE_SYSTEM_NAME=$CMAKE_SYSTEM_NAME -DCMAKE_SYSTEM_PROCESSOR=$GNU_ARCH -DCMAKE_OSX_DEPLOYMENT_TARGET=$IPHONEOS_DEPLOYMENT_TARGET -DCMAKE_OSX_SYSROOT=$IOS_SDK_PATH -DBUILD_SHARED_LIBS=NO"
6464
0 commit comments