File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -111,18 +111,19 @@ set(sdk "${SWIFT_HOST_VARIANT_SDK}")
111
111
if (SWIFT_BUILD_STATIC_STDLIB AND "${sdk} " STREQUAL "LINUX" )
112
112
set (static_binary_lnk_file_list )
113
113
string (TOLOWER "${sdk} " lowercase_sdk )
114
+ set (static_binary_lnk_src "${SWIFT_SOURCE_DIR} /stdlib/public/Resources/${lowercase_sdk} /static-executable-args.lnk" )
114
115
115
116
# Generate the static-executable-args.lnk file used for ELF systems (eg linux)
116
117
set (linkfile "${lowercase_sdk} /static-executable-args.lnk" )
117
118
add_custom_command_target (swift_static_binary_${sdk}_args
118
119
COMMAND
119
120
"${CMAKE_COMMAND} " -E copy
120
- "${SWIFT_SOURCE_DIR} /utils/static-executable-args.lnk "
121
+ "${static_binary_lnk_src} "
121
122
"${SWIFTSTATICLIB_DIR} /${linkfile} "
122
123
OUTPUT
123
124
"${SWIFTSTATICLIB_DIR} /${linkfile} "
124
125
DEPENDS
125
- "${SWIFT_SOURCE_DIR} /utils/static-executable-args.lnk " )
126
+ "${static_binary_lnk_src} " )
126
127
127
128
list (APPEND static_binary_lnk_file_list ${swift_static_binary_${sdk}_args} )
128
129
swift_install_in_component (FILES "${SWIFTSTATICLIB_DIR} /${linkfile} "
You can’t perform that action at this time.
0 commit comments