We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d7f1cdf + bedf46f commit 37f5117Copy full SHA for 37f5117
stdlib/public/runtime/CMakeLists.txt
@@ -105,6 +105,10 @@ if(SWIFT_BUILD_STATIC_STDLIB AND "${sdk}" STREQUAL "LINUX")
105
set_target_properties(swiftImageInspectionShared PROPERTIES
106
ARCHIVE_OUTPUT_DIRECTORY "${SWIFTSTATICLIB_DIR}/${lowercase_sdk}")
107
108
+ swift_install_in_component(stdlib
109
+ TARGETS swiftImageInspectionShared
110
+ DESTINATION "lib/swift_static/${lowercase_sdk}")
111
+
112
# Generate the static-executable-args.lnk file used for ELF systems (eg linux)
113
set(linkfile "${lowercase_sdk}/static-executable-args.lnk")
114
add_custom_command_target(swift_static_binary_${sdk}_args
utils/static-executable-args.lnk
@@ -1,5 +1,6 @@
1
-static
2
-lswiftCore
3
+-lswiftImageInspectionShared
4
-Xlinker
5
--defsym=__import_pthread_self=pthread_self
6
0 commit comments