We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0db5a22 + 6249b63 commit b2d7fb9Copy full SHA for b2d7fb9
stdlib/public/runtime/CMakeLists.txt
@@ -94,6 +94,10 @@ if(SWIFT_BUILD_STATIC_STDLIB AND "${sdk}" STREQUAL "LINUX")
94
set_target_properties(swiftImageInspectionShared PROPERTIES
95
ARCHIVE_OUTPUT_DIRECTORY "${SWIFTSTATICLIB_DIR}/${lowercase_sdk}")
96
97
+ swift_install_in_component(stdlib
98
+ TARGETS swiftImageInspectionShared
99
+ DESTINATION "lib/swift_static/${lowercase_sdk}")
100
+
101
# Generate the static-executable-args.lnk file used for ELF systems (eg linux)
102
set(linkfile "${lowercase_sdk}/static-executable-args.lnk")
103
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