Skip to content

Commit 37f5117

Browse files
authored
Merge pull request #14938 from bob-wilson/rdar37710244-5.0
SR-7038: cherry-pick the remaining fixes for Swift 5.0
2 parents d7f1cdf + bedf46f commit 37f5117

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

stdlib/public/runtime/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ if(SWIFT_BUILD_STATIC_STDLIB AND "${sdk}" STREQUAL "LINUX")
105105
set_target_properties(swiftImageInspectionShared PROPERTIES
106106
ARCHIVE_OUTPUT_DIRECTORY "${SWIFTSTATICLIB_DIR}/${lowercase_sdk}")
107107

108+
swift_install_in_component(stdlib
109+
TARGETS swiftImageInspectionShared
110+
DESTINATION "lib/swift_static/${lowercase_sdk}")
111+
108112
# Generate the static-executable-args.lnk file used for ELF systems (eg linux)
109113
set(linkfile "${lowercase_sdk}/static-executable-args.lnk")
110114
add_custom_command_target(swift_static_binary_${sdk}_args

utils/static-executable-args.lnk

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
-static
22
-lswiftCore
3+
-lswiftImageInspectionShared
34
-Xlinker
45
--defsym=__import_pthread_self=pthread_self
56
-Xlinker

0 commit comments

Comments
 (0)