Skip to content

Commit fba6537

Browse files
committed
[embedded] Explicitly install the embedded concurrency .a libraries with +x permissions
1 parent 2d61e3d commit fba6537

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

stdlib/public/Concurrency/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,12 @@ if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB AND SWIFT_SHOULD_BUILD_EMBEDDED_CONCURRENC
279279
DESTINATION "lib/swift/embedded/${mod}"
280280
COMPONENT "stdlib"
281281
)
282+
swift_install_in_component(
283+
FILES "${SWIFTLIB_DIR}/embedded/${mod}/libswift_Concurrency.a"
284+
DESTINATION "lib/swift/embedded/${mod}/"
285+
COMPONENT "stdlib"
286+
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
287+
)
282288
set_property(TARGET embedded-concurrency-${mod} PROPERTY OSX_ARCHITECTURES "${arch}")
283289

284290
add_dependencies(embedded-concurrency embedded-concurrency-${mod})

0 commit comments

Comments
 (0)