Skip to content

Commit b2f0d92

Browse files
committed
[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
1 parent 9c7f0c7 commit b2f0d92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Cxx/std/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ add_swift_target_library(swiftCxxStdlib STATIC NO_LINK_NAME IS_STDLIB IS_SWIFT_O
7878
DEPLOYMENT_VERSION_XROS ${COMPATIBILITY_MINIMUM_DEPLOYMENT_VERSION_XROS}
7979

8080
LINK_FLAGS "${SWIFT_RUNTIME_SWIFT_LINK_FLAGS}"
81-
TARGET_SDKS ALL_APPLE_PLATFORMS LINUX WINDOWS ANDROID
81+
TARGET_SDKS ALL_APPLE_PLATFORMS LINUX LINUX_STATIC WINDOWS ANDROID
8282
MACCATALYST_BUILD_FLAVOR zippered
8383
INSTALL_IN_COMPONENT compiler
8484
INSTALL_BINARY_SWIFTMODULE NON_DARWIN_ONLY

0 commit comments

Comments
 (0)