Skip to content

Commit e9739d7

Browse files
committed
remove additional glibc android check from cmake
1 parent 9c31f98 commit e9739d7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stdlib/public/Platform/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,7 @@ foreach(sdk ${SWIFT_SDKS})
367367
# If this SDK is a target for a non-native host, except if it's for Android
368368
# with its own native sysroot, create a native modulemap without a sysroot
369369
# prefix. This is the one we'll install instead.
370-
if(NOT "${SWIFT_SDK_${SWIFT_HOST_VARIANT_SDK}_ARCH_${arch}_PATH}" STREQUAL "/" AND
371-
NOT (sdk STREQUAL "ANDROID" AND NOT "${SWIFT_ANDROID_NATIVE_SYSROOT}" STREQUAL ""))
370+
if(NOT "${SWIFT_SDK_${SWIFT_HOST_VARIANT_SDK}_ARCH_${arch}_PATH}" STREQUAL "/")
372371
set(glibc_sysroot_relative_modulemap_out "${module_dir}/sysroot-relative-modulemaps/glibc.modulemap")
373372

374373
handle_gyb_source_single(glibc_modulemap_native_target

0 commit comments

Comments
 (0)