From b2f0d92eaaa365caf1a15b424c79a79fc329a532 Mon Sep 17 00:00:00 2001 From: Alastair Houghton Date: Thu, 15 May 2025 14:23:07 +0100 Subject: [PATCH] [Cxx] Build the C++ interop support library for the Static SDK for Linux. We need the C++ interop support library to make the build work, as the Runtime module uses C++ interop. (Also, we should build it, because some user programs might want to use C++ interop.) rdar://147201087 --- stdlib/public/Cxx/std/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/public/Cxx/std/CMakeLists.txt b/stdlib/public/Cxx/std/CMakeLists.txt index beb48d7190a4a..c8a4b2e1def2b 100644 --- a/stdlib/public/Cxx/std/CMakeLists.txt +++ b/stdlib/public/Cxx/std/CMakeLists.txt @@ -78,7 +78,7 @@ add_swift_target_library(swiftCxxStdlib STATIC NO_LINK_NAME IS_STDLIB IS_SWIFT_O DEPLOYMENT_VERSION_XROS ${COMPATIBILITY_MINIMUM_DEPLOYMENT_VERSION_XROS} LINK_FLAGS "${SWIFT_RUNTIME_SWIFT_LINK_FLAGS}" - TARGET_SDKS ALL_APPLE_PLATFORMS LINUX WINDOWS ANDROID + TARGET_SDKS ALL_APPLE_PLATFORMS LINUX LINUX_STATIC WINDOWS ANDROID MACCATALYST_BUILD_FLAVOR zippered INSTALL_IN_COMPONENT compiler INSTALL_BINARY_SWIFTMODULE NON_DARWIN_ONLY