We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c31f98 commit e9739d7Copy full SHA for e9739d7
stdlib/public/Platform/CMakeLists.txt
@@ -367,8 +367,7 @@ foreach(sdk ${SWIFT_SDKS})
367
# If this SDK is a target for a non-native host, except if it's for Android
368
# with its own native sysroot, create a native modulemap without a sysroot
369
# 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 ""))
+ if(NOT "${SWIFT_SDK_${SWIFT_HOST_VARIANT_SDK}_ARCH_${arch}_PATH}" STREQUAL "/")
372
set(glibc_sysroot_relative_modulemap_out "${module_dir}/sysroot-relative-modulemaps/glibc.modulemap")
373
374
handle_gyb_source_single(glibc_modulemap_native_target
0 commit comments