Skip to content

Commit da7321a

Browse files
committed
[embedded] Enable installing the embedded stdlib into the toolchain
1 parent 8577c6b commit da7321a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stdlib/public/core/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,7 @@ if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB)
419419
list(GET list 2 triple)
420420

421421
set(SWIFT_SDK_embedded_ARCH_${arch}_MODULE "${mod}")
422+
set(SWIFT_SDK_embedded_LIB_SUBDIR "embedded")
422423
add_swift_target_library_single(
423424
embedded-stdlib-${triple}
424425
swiftCore
@@ -431,7 +432,7 @@ if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB)
431432
SDK "embedded"
432433
ARCHITECTURE "${arch}"
433434
FILE_DEPENDS ${swiftCore_common_dependencies}
434-
INSTALL_IN_COMPONENT "never_install"
435+
INSTALL_IN_COMPONENT stdlib
435436
)
436437
add_dependencies(embedded-stdlib embedded-stdlib-${triple})
437438
endforeach()

0 commit comments

Comments
 (0)